diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-14 20:47:20 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-14 20:47:20 +0200 |
commit | e2b9215868a3d72691e5bc0f887354254606447b (patch) | |
tree | d800e563fcd78971be6cd8630fba1d61677975fb /coreutils | |
parent | 643b308029ac42f466fa17e4ff400e47003205d9 (diff) |
*: --help tweaks
function old new delta
packed_usage 33589 33552 -37
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/chgrp.c | 8 | ||||
-rw-r--r-- | coreutils/chmod.c | 7 | ||||
-rw-r--r-- | coreutils/chown.c | 10 | ||||
-rw-r--r-- | coreutils/cut.c | 1 | ||||
-rw-r--r-- | coreutils/echo.c | 6 | ||||
-rw-r--r-- | coreutils/id.c | 2 |
6 files changed, 22 insertions, 12 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index 0c2060981..e6ac316e5 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c @@ -23,13 +23,17 @@ //usage:#define chgrp_trivial_usage //usage: "[-Rh"IF_DESKTOP("LHPcvf")"]... GROUP FILE..." //usage:#define chgrp_full_usage "\n\n" -//usage: "Change the group membership of FILEs to GROUP\n" -//usage: "\n -R Recurse" +//usage: "Change the group membership of FILEs to GROUP" +//usage: "\n" //usage: "\n -h Affect symlinks instead of symlink targets" //usage: IF_DESKTOP( //usage: "\n -L Traverse all symlinks to directories" //usage: "\n -H Traverse symlinks on command line only" //usage: "\n -P Don't traverse symlinks (default)" +//usage: ) +//next 4 options are the same for chmod/chown/chgrp: +//usage: "\n -R Recurse" +//usage: IF_DESKTOP( //usage: "\n -c List changed files" //usage: "\n -v Verbose" //usage: "\n -f Hide errors" diff --git a/coreutils/chmod.c b/coreutils/chmod.c index d2988c490..e260adab2 100644 --- a/coreutils/chmod.c +++ b/coreutils/chmod.c @@ -26,12 +26,13 @@ //usage:#define chmod_trivial_usage //usage: "[-R"IF_DESKTOP("cvf")"] MODE[,MODE]... FILE..." //usage:#define chmod_full_usage "\n\n" -//usage: "Each MODE is one or more of the letters ugoa, one of the\n" -//usage: "symbols +-= and one or more of the letters rwxst\n" +//usage: "MODE is octal number (bit pattern sstrwxrwxrwx) or [ugoa]{+|-|=}[rwxXst]" +//usage: "\n" +//next 4 options are the same for chmod/chown/chgrp: //usage: "\n -R Recurse" //usage: IF_DESKTOP( //usage: "\n -c List changed files" -//usage: "\n -v List all files" +//usage: "\n -v Verbose" //usage: "\n -f Hide errors" //usage: ) //usage: diff --git a/coreutils/chown.c b/coreutils/chown.c index 170507147..528a2a05a 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -28,15 +28,19 @@ //usage:#define chown_trivial_usage //usage: "[-Rh"IF_DESKTOP("LHPcvf")"]... USER[:[GRP]] FILE..." //usage:#define chown_full_usage "\n\n" -//usage: "Change the owner and/or group of FILEs to USER and/or GRP\n" -//usage: "\n -R Recurse" +//usage: "Change the owner and/or group of FILEs to USER and/or GRP" +//usage: "\n" //usage: "\n -h Affect symlinks instead of symlink targets" //usage: IF_DESKTOP( //usage: "\n -L Traverse all symlinks to directories" //usage: "\n -H Traverse symlinks on command line only" //usage: "\n -P Don't traverse symlinks (default)" +//usage: ) +//next 4 options are the same for chmod/chown/chgrp: +//usage: "\n -R Recurse" +//usage: IF_DESKTOP( //usage: "\n -c List changed files" -//usage: "\n -v List all files" +//usage: "\n -v Verbose" //usage: "\n -f Hide errors" //usage: ) //usage: diff --git a/coreutils/cut.c b/coreutils/cut.c index 5897d82b6..cc3c32576 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c @@ -29,6 +29,7 @@ //usage: "\n -s Output only lines containing delimiter" //usage: "\n -f LIST Print only these fields" //usage: "\n -n Ignored" +//(manpage:-n with -b: don't split multibyte characters) //usage: //usage:#define cut_example_usage //usage: "$ echo \"Hello world\" | cut -f 1 -d ' '\n" diff --git a/coreutils/echo.c b/coreutils/echo.c index aab177cee..82f0358b6 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c @@ -43,10 +43,10 @@ //usage:#define echo_trivial_usage //usage: IF_FEATURE_FANCY_ECHO("[-neE] ") "[ARG]..." //usage:#define echo_full_usage "\n\n" -//usage: "Print the specified ARGs to stdout" +//usage: "Print ARGs to stdout" //usage: IF_FEATURE_FANCY_ECHO( "\n" -//usage: "\n -n Suppress trailing newline" -//usage: "\n -e Interpret backslash escapes (i.e., \\t=tab)" +//usage: "\n -n No trailing newline" +//usage: "\n -e Interpret backslash escapes (\\t=tab etc)" //usage: "\n -E Don't interpret backslash escapes (default)" //usage: ) //usage: diff --git a/coreutils/id.c b/coreutils/id.c index f453a87ae..18bda3c55 100644 --- a/coreutils/id.c +++ b/coreutils/id.c @@ -52,7 +52,7 @@ //usage:#define groups_trivial_usage //usage: "[USER]" //usage:#define groups_full_usage "\n\n" -//usage: "Print the group memberships of USER or for the current process" +//usage: "Print the groups USER is in" //usage: //usage:#define groups_example_usage //usage: "$ groups\n" |