diff options
Diffstat (limited to 'e2fsprogs/chattr.c')
-rw-r--r-- | e2fsprogs/chattr.c | 24 |
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 | ||