make --help texts more uniform

function                                             old     new   delta
packed_usage                                       31062   31035     -27

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-01-21 02:49:58 +01:00
parent f6e20724d4
commit bbc7bee966
10 changed files with 48 additions and 48 deletions

View File

@@ -23,9 +23,9 @@
//usage: "[OPTIONS] MOUNTPOINT"
//usage:#define fstrim_full_usage "\n\n"
//usage: IF_LONG_OPTS(
//usage: " -o,--offset=OFFSET Offset in bytes to discard from"
//usage: "\n -l,--length=LEN Bytes to discard"
//usage: "\n -m,--minimum=MIN Minimum extent length"
//usage: " -o,--offset OFFSET Offset in bytes to discard from"
//usage: "\n -l,--length LEN Bytes to discard"
//usage: "\n -m,--minimum MIN Minimum extent length"
//usage: "\n -v,--verbose Print number of discarded bytes"
//usage: )
//usage: IF_NOT_LONG_OPTS(

View File

@@ -57,13 +57,13 @@
//usage: IF_LONG_OPTS(
//usage: IF_FEATURE_GETOPT_LONG(
//usage: " -a,--alternative Allow long options starting with single -\n"
//usage: " -l,--longoptions=LOPT[,...] Long options to recognize\n"
//usage: " -l,--longoptions LOPT[,...] Long options to recognize\n"
//usage: )
//usage: " -n,--name=PROGNAME The name under which errors are reported"
//usage: "\n -o,--options=OPTSTRING Short options to recognize"
//usage: " -n,--name PROGNAME The name under which errors are reported"
//usage: "\n -o,--options OPTSTRING Short options to recognize"
//usage: "\n -q,--quiet No error messages on unrecognized options"
//usage: "\n -Q,--quiet-output No normal output"
//usage: "\n -s,--shell=SHELL Set shell quoting conventions"
//usage: "\n -s,--shell SHELL Set shell quoting conventions"
//usage: "\n -T,--test Version test (exits with 4)"
//usage: "\n -u,--unquoted Don't quote output"
//usage: )

View File

@@ -30,19 +30,19 @@
//usage: "[OPTIONS] [PROG [ARGS]]"
//usage:#if ENABLE_FEATURE_NSENTER_LONG_OPTS
//usage:#define nsenter_full_usage "\n"
//usage: "\n -t, --target=PID Target process to get namespaces from"
//usage: "\n -m, --mount[=FILE] Enter mount namespace"
//usage: "\n -u, --uts[=FILE] Enter UTS namespace (hostname etc)"
//usage: "\n -i, --ipc[=FILE] Enter System V IPC namespace"
//usage: "\n -n, --net[=FILE] Enter network namespace"
//usage: "\n -p, --pid[=FILE] Enter pid namespace"
//usage: "\n -U, --user[=FILE] Enter user namespace"
//usage: "\n -S, --setuid=UID Set uid in entered namespace"
//usage: "\n -G, --setgid=GID Set gid in entered namespace"
//usage: "\n --preserve-credentials Don't touch uids or gids"
//usage: "\n -r, --root[=DIR] Set root directory"
//usage: "\n -w, --wd[=DIR] Set working directory"
//usage: "\n -F, --no-fork Don't fork before exec'ing PROG"
//usage: "\n -t,--target PID Target process to get namespaces from"
//usage: "\n -m,--mount[=FILE] Enter mount namespace"
//usage: "\n -u,--uts[=FILE] Enter UTS namespace (hostname etc)"
//usage: "\n -i,--ipc[=FILE] Enter System V IPC namespace"
//usage: "\n -n,--net[=FILE] Enter network namespace"
//usage: "\n -p,--pid[=FILE] Enter pid namespace"
//usage: "\n -U,--user[=FILE] Enter user namespace"
//usage: "\n -S,--setuid UID Set uid in entered namespace"
//usage: "\n -G,--setgid GID Set gid in entered namespace"
//usage: "\n --preserve-credentials Don't touch uids or gids"
//usage: "\n -r,--root[=DIR] Set root directory"
//usage: "\n -w,--wd[=DIR] Set working directory"
//usage: "\n -F,--no-fork Don't fork before exec'ing PROG"
//usage:#else
//usage:#define nsenter_full_usage "\n"
//usage: "\n -t PID Target process to get namespaces from"

View File

@@ -41,10 +41,10 @@
//usage: "\n -a,--auto Read clock mode from adjtime"
//usage: "\n -l,--local Clock is set to local time"
//usage: "\n -u,--utc Clock is set to UTC time"
//usage: "\n -d,--device=DEV Specify the RTC device"
//usage: "\n -m,--mode=MODE Set sleep state (default: standby)"
//usage: "\n -s,--seconds=SEC Set timeout in SEC seconds from now"
//usage: "\n -t,--time=TIME Set timeout to TIME seconds from epoch"
//usage: "\n -d,--device DEV Specify the RTC device"
//usage: "\n -m,--mode MODE Set sleep state (default: standby)"
//usage: "\n -s,--seconds SEC Set timeout in SEC seconds from now"
//usage: "\n -t,--time TIME Set timeout to TIME seconds from epoch"
//usage: )
//usage: IF_NOT_LONG_OPTS(
//usage: "\n -a Read clock mode from adjtime"

View File

@@ -25,14 +25,14 @@
//usage:#define unshare_trivial_usage
//usage: "[OPTIONS] [PROG [ARGS]]"
//usage:#define unshare_full_usage "\n"
//usage: "\n -m, --mount[=FILE] Unshare mount namespace"
//usage: "\n -u, --uts[=FILE] Unshare UTS namespace (hostname etc.)"
//usage: "\n -i, --ipc[=FILE] Unshare System V IPC namespace"
//usage: "\n -n, --net[=FILE] Unshare network namespace"
//usage: "\n -p, --pid[=FILE] Unshare PID namespace"
//usage: "\n -U, --user[=FILE} Unshare user namespace"
//usage: "\n -f, --fork Fork before execing PROG"
//usage: "\n -r, --map-root-user Map current user to root (implies -u)"
//usage: "\n -m,--mount[=FILE] Unshare mount namespace"
//usage: "\n -u,--uts[=FILE] Unshare UTS namespace (hostname etc.)"
//usage: "\n -i,--ipc[=FILE] Unshare System V IPC namespace"
//usage: "\n -n,--net[=FILE] Unshare network namespace"
//usage: "\n -p,--pid[=FILE] Unshare PID namespace"
//usage: "\n -U,--user[=FILE] Unshare user namespace"
//usage: "\n -f,--fork Fork before execing PROG"
//usage: "\n -r,--map-root-user Map current user to root (implies -u)"
//usage: "\n --mount-proc[=DIR] Mount /proc filesystem first (implies -m)"
//usage: "\n --propagation slave|shared|private|unchanged"
//usage: "\n Modify mount propagation in mount namespace"