From: Denys Vlasenko Date: Sun, 18 Oct 2015 23:29:20 +0000 (+0200) Subject: chattr,lsattr: shorten help message X-Git-Tag: 1_25_0~237 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=36647abcc393daf2ddd7876e6f24d9497c2a84a1;p=oweals%2Fbusybox.git chattr,lsattr: shorten help message function old new delta packed_usage 30662 30645 -17 Signed-off-by: Denys Vlasenko --- 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 @@ //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 3a7dd6b56..d2348b5f7 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"