chattr,lsattr: shorten help message

function                                             old     new   delta
packed_usage                                       30662   30645     -17

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2015-10-19 01:29:20 +02:00
parent 95dee81a46
commit 36647abcc3
2 changed files with 6 additions and 8 deletions

View File

@ -22,11 +22,9 @@
//usage:#define chattr_trivial_usage //usage:#define chattr_trivial_usage
//usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..." //usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..."
//usage:#define chattr_full_usage "\n\n" //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: "\nModifiers:"
//usage: "\n - Remove attributes" //usage: "\n -,+,= Remove/add/set attributes"
//usage: "\n + Add attributes"
//usage: "\n = Set attributes"
//usage: "\nAttributes:" //usage: "\nAttributes:"
//usage: "\n A Don't track atime" //usage: "\n A Don't track atime"
//usage: "\n a Append mode only" //usage: "\n a Append mode only"
@ -36,11 +34,11 @@
//usage: "\n i Cannot be modified (immutable)" //usage: "\n i Cannot be modified (immutable)"
//usage: "\n j Write all data to journal first" //usage: "\n j Write all data to journal first"
//usage: "\n s Zero disk storage when deleted" //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 t Disable tail-merging of partial blocks with other files"
//usage: "\n u Allow file to be undeleted" //usage: "\n u Allow file to be undeleted"
//usage: "\n -R Recurse" //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 "libbb.h"
#include "e2fs_lib.h" #include "e2fs_lib.h"

View File

@ -23,12 +23,12 @@
//usage:#define lsattr_trivial_usage //usage:#define lsattr_trivial_usage
//usage: "[-Radlv] [FILE]..." //usage: "[-Radlv] [FILE]..."
//usage:#define lsattr_full_usage "\n\n" //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 -R Recurse"
//usage: "\n -a Don't hide entries starting with ." //usage: "\n -a Don't hide entries starting with ."
//usage: "\n -d List directory entries instead of contents" //usage: "\n -d List directory entries instead of contents"
//usage: "\n -l List long flag names" //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 "libbb.h"
#include "e2fs_lib.h" #include "e2fs_lib.h"