aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/chattr.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
committerRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
commit67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch)
treea4a1db7f54c16d12fabe2626b8f1e235cd694e9e /e2fsprogs/chattr.c
parent811c449748d5bd0505f8510e5582892f94ac0cda (diff)
parentb83c9704128dd106071184e4b00335a3b8486857 (diff)
downloadbusybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'e2fsprogs/chattr.c')
-rw-r--r--e2fsprogs/chattr.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c
index ab52cb009..b1c77faad 100644
--- a/e2fsprogs/chattr.c
+++ b/e2fsprogs/chattr.c
@@ -19,6 +19,30 @@
19 * 98/12/29 - Display version info only when -V specified (G M Sipe) 19 * 98/12/29 - Display version info only when -V specified (G M Sipe)
20 */ 20 */
21 21
22//usage:#define chattr_trivial_usage
23//usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..."
24//usage:#define chattr_full_usage "\n\n"
25//usage: "Change file attributes on an ext2 fs\n"
26//usage: "\nModifiers:"
27//usage: "\n - Remove attributes"
28//usage: "\n + Add attributes"
29//usage: "\n = Set attributes"
30//usage: "\nAttributes:"
31//usage: "\n A Don't track atime"
32//usage: "\n a Append mode only"
33//usage: "\n c Enable compress"
34//usage: "\n D Write dir contents synchronously"
35//usage: "\n d Don't backup with dump"
36//usage: "\n i Cannot be modified (immutable)"
37//usage: "\n j Write all data to journal first"
38//usage: "\n s Zero disk storage when deleted"
39//usage: "\n S Write file contents synchronously"
40//usage: "\n t Disable tail-merging of partial blocks with other files"
41//usage: "\n u Allow file to be undeleted"
42//usage: "\nOptions:"
43//usage: "\n -R Recurse"
44//usage: "\n -v Set the file's version/generation number"
45
22#include "libbb.h" 46#include "libbb.h"
23#include "e2fs_lib.h" 47#include "e2fs_lib.h"
24 48