[git commit] chattr,lsattr: shorten help message
Denys Vlasenko
vda.linux at googlemail.com
Sun Oct 18 23:29:20 UTC 2015
commit: http://git.busybox.net/busybox/commit/?id=36647abcc393daf2ddd7876e6f24d9497c2a84a1
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
function old new delta
packed_usage 30662 30645 -17
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
e2fsprogs/chattr.c | 10 ++++------
e2fsprogs/lsattr.c | 4 ++--
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"
More information about the busybox-cvs
mailing list