diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-19 01:29:20 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-19 01:29:20 +0200 |
commit | 36647abcc393daf2ddd7876e6f24d9497c2a84a1 (patch) | |
tree | cdafa64d497736b42afa9559b8270278170c9021 | |
parent | 95dee81a465668151cff3ffd757456a9a10c1f1f (diff) | |
download | busybox-w32-36647abcc393daf2ddd7876e6f24d9497c2a84a1.tar.gz busybox-w32-36647abcc393daf2ddd7876e6f24d9497c2a84a1.tar.bz2 busybox-w32-36647abcc393daf2ddd7876e6f24d9497c2a84a1.zip |
chattr,lsattr: shorten help message
function old new delta
packed_usage 30662 30645 -17
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | e2fsprogs/chattr.c | 10 | ||||
-rw-r--r-- | e2fsprogs/lsattr.c | 4 |
2 files changed, 6 insertions, 8 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c index c4e2415f8..043f39591 100644 --- a/e2fsprogs/chattr.c +++ b/e2fsprogs/chattr.c | |||
@@ -22,11 +22,9 @@ | |||
22 | //usage:#define chattr_trivial_usage | 22 | //usage:#define chattr_trivial_usage |
23 | //usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..." | 23 | //usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..." |
24 | //usage:#define chattr_full_usage "\n\n" | 24 | //usage:#define chattr_full_usage "\n\n" |
25 | //usage: "Change file attributes on an ext2 fs\n" | 25 | //usage: "Change ext2 file attributes\n" |
26 | //usage: "\nModifiers:" | 26 | //usage: "\nModifiers:" |
27 | //usage: "\n - Remove attributes" | 27 | //usage: "\n -,+,= Remove/add/set attributes" |
28 | //usage: "\n + Add attributes" | ||
29 | //usage: "\n = Set attributes" | ||
30 | //usage: "\nAttributes:" | 28 | //usage: "\nAttributes:" |
31 | //usage: "\n A Don't track atime" | 29 | //usage: "\n A Don't track atime" |
32 | //usage: "\n a Append mode only" | 30 | //usage: "\n a Append mode only" |
@@ -36,11 +34,11 @@ | |||
36 | //usage: "\n i Cannot be modified (immutable)" | 34 | //usage: "\n i Cannot be modified (immutable)" |
37 | //usage: "\n j Write all data to journal first" | 35 | //usage: "\n j Write all data to journal first" |
38 | //usage: "\n s Zero disk storage when deleted" | 36 | //usage: "\n s Zero disk storage when deleted" |
39 | //usage: "\n S Write file contents synchronously" | 37 | //usage: "\n S Write synchronously" |
40 | //usage: "\n t Disable tail-merging of partial blocks with other files" | 38 | //usage: "\n t Disable tail-merging of partial blocks with other files" |
41 | //usage: "\n u Allow file to be undeleted" | 39 | //usage: "\n u Allow file to be undeleted" |
42 | //usage: "\n -R Recurse" | 40 | //usage: "\n -R Recurse" |
43 | //usage: "\n -v Set the file's version/generation number" | 41 | //usage: "\n -v VER Set version/generation number" |
44 | 42 | ||
45 | #include "libbb.h" | 43 | #include "libbb.h" |
46 | #include "e2fs_lib.h" | 44 | #include "e2fs_lib.h" |
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c index 3a7dd6b56..d2348b5f7 100644 --- a/e2fsprogs/lsattr.c +++ b/e2fsprogs/lsattr.c | |||
@@ -23,12 +23,12 @@ | |||
23 | //usage:#define lsattr_trivial_usage | 23 | //usage:#define lsattr_trivial_usage |
24 | //usage: "[-Radlv] [FILE]..." | 24 | //usage: "[-Radlv] [FILE]..." |
25 | //usage:#define lsattr_full_usage "\n\n" | 25 | //usage:#define lsattr_full_usage "\n\n" |
26 | //usage: "List file attributes on an ext2 fs\n" | 26 | //usage: "List ext2 file attributes\n" |
27 | //usage: "\n -R Recurse" | 27 | //usage: "\n -R Recurse" |
28 | //usage: "\n -a Don't hide entries starting with ." | 28 | //usage: "\n -a Don't hide entries starting with ." |
29 | //usage: "\n -d List directory entries instead of contents" | 29 | //usage: "\n -d List directory entries instead of contents" |
30 | //usage: "\n -l List long flag names" | 30 | //usage: "\n -l List long flag names" |
31 | //usage: "\n -v List the file's version/generation number" | 31 | //usage: "\n -v List version/generation number" |
32 | 32 | ||
33 | #include "libbb.h" | 33 | #include "libbb.h" |
34 | #include "e2fs_lib.h" | 34 | #include "e2fs_lib.h" |