summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2015-10-19 01:29:20 +0200
committerDenys Vlasenko2015-10-19 01:29:20 +0200
commit36647abcc393daf2ddd7876e6f24d9497c2a84a1 (patch)
treecdafa64d497736b42afa9559b8270278170c9021
parent95dee81a465668151cff3ffd757456a9a10c1f1f (diff)
downloadbusybox-36647abcc393daf2ddd7876e6f24d9497c2a84a1.zip
busybox-36647abcc393daf2ddd7876e6f24d9497c2a84a1.tar.gz
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.c10
-rw-r--r--e2fsprogs/lsattr.c4
2 files changed, 6 insertions, 8 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c
index c4e2415..043f395 100644
--- a/e2fsprogs/chattr.c
+++ b/e2fsprogs/chattr.c
@@ -22,11 +22,9 @@
//usage:#define chattr_trivial_usage
//usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..."
//usage:#define chattr_full_usage "\n\n"
-//usage: "Change file attributes on an ext2 fs\n"
+//usage: "Change ext2 file attributes\n"
//usage: "\nModifiers:"
-//usage: "\n - Remove attributes"
-//usage: "\n + Add attributes"
-//usage: "\n = Set attributes"
+//usage: "\n -,+,= Remove/add/set attributes"
//usage: "\nAttributes:"
//usage: "\n A Don't track atime"
//usage: "\n a Append mode only"
@@ -36,11 +34,11 @@
//usage: "\n i Cannot be modified (immutable)"
//usage: "\n j Write all data to journal first"
//usage: "\n s Zero disk storage when deleted"
-//usage: "\n S Write file contents synchronously"
+//usage: "\n S Write synchronously"
//usage: "\n t Disable tail-merging of partial blocks with other files"
//usage: "\n u Allow file to be undeleted"
//usage: "\n -R Recurse"
-//usage: "\n -v Set the file's version/generation number"
+//usage: "\n -v VER Set version/generation number"
#include "libbb.h"
#include "e2fs_lib.h"
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index 3a7dd6b..d2348b5 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -23,12 +23,12 @@
//usage:#define lsattr_trivial_usage
//usage: "[-Radlv] [FILE]..."
//usage:#define lsattr_full_usage "\n\n"
-//usage: "List file attributes on an ext2 fs\n"
+//usage: "List ext2 file attributes\n"
//usage: "\n -R Recurse"
//usage: "\n -a Don't hide entries starting with ."
//usage: "\n -d List directory entries instead of contents"
//usage: "\n -l List long flag names"
-//usage: "\n -v List the file's version/generation number"
+//usage: "\n -v List version/generation number"
#include "libbb.h"
#include "e2fs_lib.h"