diff options
author | Ron Yorston <rmy@pobox.com> | 2022-05-19 13:09:45 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-05-19 15:43:23 +0100 |
commit | eca8fe9c69bd15760ba5206f9ddd7bbf825bcda1 (patch) | |
tree | 9f5549a9bd163e7e1e81816f40ee36d21cb0dac9 /e2fsprogs/lsattr.c | |
parent | 3ab7b90aba64b2341f74d1e5b85a3f8fef216258 (diff) | |
download | busybox-w32-eca8fe9c69bd15760ba5206f9ddd7bbf825bcda1.tar.gz busybox-w32-eca8fe9c69bd15760ba5206f9ddd7bbf825bcda1.tar.bz2 busybox-w32-eca8fe9c69bd15760ba5206f9ddd7bbf825bcda1.zip |
chattr,lsattr: improve help messages
List all attributes in the help from lsattr.
Minor changes to attribute names in output.
Diffstat (limited to '')
-rw-r--r-- | e2fsprogs/lsattr.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c index e86807e85..a6c4a27e9 100644 --- a/e2fsprogs/lsattr.c +++ b/e2fsprogs/lsattr.c | |||
@@ -28,7 +28,12 @@ | |||
28 | //usage: "[-Radl] [FILE]..." | 28 | //usage: "[-Radl] [FILE]..." |
29 | //usage: ) | 29 | //usage: ) |
30 | //usage:#define lsattr_full_usage "\n\n" | 30 | //usage:#define lsattr_full_usage "\n\n" |
31 | //usage: IF_NOT_PLATFORM_MINGW32( | ||
31 | //usage: "List ext2 file attributes\n" | 32 | //usage: "List ext2 file attributes\n" |
33 | //usage: ) | ||
34 | //usage: IF_PLATFORM_MINGW32( | ||
35 | //usage: "List file attributes\n" | ||
36 | //usage: ) | ||
32 | //usage: "\n -R Recurse" | 37 | //usage: "\n -R Recurse" |
33 | //usage: "\n -a Include names starting with ." | 38 | //usage: "\n -a Include names starting with ." |
34 | //usage: "\n -d List directory names, not contents" | 39 | //usage: "\n -d List directory names, not contents" |
@@ -38,6 +43,22 @@ | |||
38 | //usage: "\n -p List project ID" | 43 | //usage: "\n -p List project ID" |
39 | //usage: "\n -v List version/generation number" | 44 | //usage: "\n -v List version/generation number" |
40 | //usage: ) | 45 | //usage: ) |
46 | //usage: IF_PLATFORM_MINGW32( | ||
47 | //usage: "\n\nAttributes:\n" | ||
48 | //usage: "\n j Junction" | ||
49 | //usage: "\n l Symbolic link" | ||
50 | //usage: "\n R Reparse point" | ||
51 | //usage: "\n o Offline" | ||
52 | //usage: "\n e Encrypted" | ||
53 | //usage: "\n c Compressed" | ||
54 | //usage: "\n S Sparse" | ||
55 | //usage: "\n r Read only" | ||
56 | //usage: "\n h Hidden" | ||
57 | //usage: "\n s System" | ||
58 | //usage: "\n a Archive" | ||
59 | //usage: "\n t Temporary" | ||
60 | //usage: "\n n Not indexed" | ||
61 | //usage: ) | ||
41 | 62 | ||
42 | #include "libbb.h" | 63 | #include "libbb.h" |
43 | #include "e2fs_lib.h" | 64 | #include "e2fs_lib.h" |