aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-21 02:49:58 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-21 02:49:58 +0100
commitbbc7bee9664b582c8237c4b879bba1bdee4d62a6 (patch)
tree150b33e048693b206af92b258a76d859bcf2a1d8 /util-linux
parentf6e20724d4aac3655e921ff6072e60bbe182b273 (diff)
downloadbusybox-w32-bbc7bee9664b582c8237c4b879bba1bdee4d62a6.tar.gz
busybox-w32-bbc7bee9664b582c8237c4b879bba1bdee4d62a6.tar.bz2
busybox-w32-bbc7bee9664b582c8237c4b879bba1bdee4d62a6.zip
make --help texts more uniform
function old new delta packed_usage 31062 31035 -27 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r--util-linux/fstrim.c6
-rw-r--r--util-linux/getopt.c8
-rw-r--r--util-linux/nsenter.c26
-rw-r--r--util-linux/rtcwake.c8
-rw-r--r--util-linux/unshare.c16
5 files changed, 32 insertions, 32 deletions
diff --git a/util-linux/fstrim.c b/util-linux/fstrim.c
index fc51878b6..563aa9720 100644
--- a/util-linux/fstrim.c
+++ b/util-linux/fstrim.c
@@ -23,9 +23,9 @@
23//usage: "[OPTIONS] MOUNTPOINT" 23//usage: "[OPTIONS] MOUNTPOINT"
24//usage:#define fstrim_full_usage "\n\n" 24//usage:#define fstrim_full_usage "\n\n"
25//usage: IF_LONG_OPTS( 25//usage: IF_LONG_OPTS(
26//usage: " -o,--offset=OFFSET Offset in bytes to discard from" 26//usage: " -o,--offset OFFSET Offset in bytes to discard from"
27//usage: "\n -l,--length=LEN Bytes to discard" 27//usage: "\n -l,--length LEN Bytes to discard"
28//usage: "\n -m,--minimum=MIN Minimum extent length" 28//usage: "\n -m,--minimum MIN Minimum extent length"
29//usage: "\n -v,--verbose Print number of discarded bytes" 29//usage: "\n -v,--verbose Print number of discarded bytes"
30//usage: ) 30//usage: )
31//usage: IF_NOT_LONG_OPTS( 31//usage: IF_NOT_LONG_OPTS(
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index f6ecc3dde..63294c520 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -57,13 +57,13 @@
57//usage: IF_LONG_OPTS( 57//usage: IF_LONG_OPTS(
58//usage: IF_FEATURE_GETOPT_LONG( 58//usage: IF_FEATURE_GETOPT_LONG(
59//usage: " -a,--alternative Allow long options starting with single -\n" 59//usage: " -a,--alternative Allow long options starting with single -\n"
60//usage: " -l,--longoptions=LOPT[,...] Long options to recognize\n" 60//usage: " -l,--longoptions LOPT[,...] Long options to recognize\n"
61//usage: ) 61//usage: )
62//usage: " -n,--name=PROGNAME The name under which errors are reported" 62//usage: " -n,--name PROGNAME The name under which errors are reported"
63//usage: "\n -o,--options=OPTSTRING Short options to recognize" 63//usage: "\n -o,--options OPTSTRING Short options to recognize"
64//usage: "\n -q,--quiet No error messages on unrecognized options" 64//usage: "\n -q,--quiet No error messages on unrecognized options"
65//usage: "\n -Q,--quiet-output No normal output" 65//usage: "\n -Q,--quiet-output No normal output"
66//usage: "\n -s,--shell=SHELL Set shell quoting conventions" 66//usage: "\n -s,--shell SHELL Set shell quoting conventions"
67//usage: "\n -T,--test Version test (exits with 4)" 67//usage: "\n -T,--test Version test (exits with 4)"
68//usage: "\n -u,--unquoted Don't quote output" 68//usage: "\n -u,--unquoted Don't quote output"
69//usage: ) 69//usage: )
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c
index 6834292da..57b218dab 100644
--- a/util-linux/nsenter.c
+++ b/util-linux/nsenter.c
@@ -30,19 +30,19 @@
30//usage: "[OPTIONS] [PROG [ARGS]]" 30//usage: "[OPTIONS] [PROG [ARGS]]"
31//usage:#if ENABLE_FEATURE_NSENTER_LONG_OPTS 31//usage:#if ENABLE_FEATURE_NSENTER_LONG_OPTS
32//usage:#define nsenter_full_usage "\n" 32//usage:#define nsenter_full_usage "\n"
33//usage: "\n -t, --target=PID Target process to get namespaces from" 33//usage: "\n -t,--target PID Target process to get namespaces from"
34//usage: "\n -m, --mount[=FILE] Enter mount namespace" 34//usage: "\n -m,--mount[=FILE] Enter mount namespace"
35//usage: "\n -u, --uts[=FILE] Enter UTS namespace (hostname etc)" 35//usage: "\n -u,--uts[=FILE] Enter UTS namespace (hostname etc)"
36//usage: "\n -i, --ipc[=FILE] Enter System V IPC namespace" 36//usage: "\n -i,--ipc[=FILE] Enter System V IPC namespace"
37//usage: "\n -n, --net[=FILE] Enter network namespace" 37//usage: "\n -n,--net[=FILE] Enter network namespace"
38//usage: "\n -p, --pid[=FILE] Enter pid namespace" 38//usage: "\n -p,--pid[=FILE] Enter pid namespace"
39//usage: "\n -U, --user[=FILE] Enter user namespace" 39//usage: "\n -U,--user[=FILE] Enter user namespace"
40//usage: "\n -S, --setuid=UID Set uid in entered namespace" 40//usage: "\n -S,--setuid UID Set uid in entered namespace"
41//usage: "\n -G, --setgid=GID Set gid in entered namespace" 41//usage: "\n -G,--setgid GID Set gid in entered namespace"
42//usage: "\n --preserve-credentials Don't touch uids or gids" 42//usage: "\n --preserve-credentials Don't touch uids or gids"
43//usage: "\n -r, --root[=DIR] Set root directory" 43//usage: "\n -r,--root[=DIR] Set root directory"
44//usage: "\n -w, --wd[=DIR] Set working directory" 44//usage: "\n -w,--wd[=DIR] Set working directory"
45//usage: "\n -F, --no-fork Don't fork before exec'ing PROG" 45//usage: "\n -F,--no-fork Don't fork before exec'ing PROG"
46//usage:#else 46//usage:#else
47//usage:#define nsenter_full_usage "\n" 47//usage:#define nsenter_full_usage "\n"
48//usage: "\n -t PID Target process to get namespaces from" 48//usage: "\n -t PID Target process to get namespaces from"
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c
index 54fc70583..b63164588 100644
--- a/util-linux/rtcwake.c
+++ b/util-linux/rtcwake.c
@@ -41,10 +41,10 @@
41//usage: "\n -a,--auto Read clock mode from adjtime" 41//usage: "\n -a,--auto Read clock mode from adjtime"
42//usage: "\n -l,--local Clock is set to local time" 42//usage: "\n -l,--local Clock is set to local time"
43//usage: "\n -u,--utc Clock is set to UTC time" 43//usage: "\n -u,--utc Clock is set to UTC time"
44//usage: "\n -d,--device=DEV Specify the RTC device" 44//usage: "\n -d,--device DEV Specify the RTC device"
45//usage: "\n -m,--mode=MODE Set sleep state (default: standby)" 45//usage: "\n -m,--mode MODE Set sleep state (default: standby)"
46//usage: "\n -s,--seconds=SEC Set timeout in SEC seconds from now" 46//usage: "\n -s,--seconds SEC Set timeout in SEC seconds from now"
47//usage: "\n -t,--time=TIME Set timeout to TIME seconds from epoch" 47//usage: "\n -t,--time TIME Set timeout to TIME seconds from epoch"
48//usage: ) 48//usage: )
49//usage: IF_NOT_LONG_OPTS( 49//usage: IF_NOT_LONG_OPTS(
50//usage: "\n -a Read clock mode from adjtime" 50//usage: "\n -a Read clock mode from adjtime"
diff --git a/util-linux/unshare.c b/util-linux/unshare.c
index bbabeef55..52e8f1421 100644
--- a/util-linux/unshare.c
+++ b/util-linux/unshare.c
@@ -25,14 +25,14 @@
25//usage:#define unshare_trivial_usage 25//usage:#define unshare_trivial_usage
26//usage: "[OPTIONS] [PROG [ARGS]]" 26//usage: "[OPTIONS] [PROG [ARGS]]"
27//usage:#define unshare_full_usage "\n" 27//usage:#define unshare_full_usage "\n"
28//usage: "\n -m, --mount[=FILE] Unshare mount namespace" 28//usage: "\n -m,--mount[=FILE] Unshare mount namespace"
29//usage: "\n -u, --uts[=FILE] Unshare UTS namespace (hostname etc.)" 29//usage: "\n -u,--uts[=FILE] Unshare UTS namespace (hostname etc.)"
30//usage: "\n -i, --ipc[=FILE] Unshare System V IPC namespace" 30//usage: "\n -i,--ipc[=FILE] Unshare System V IPC namespace"
31//usage: "\n -n, --net[=FILE] Unshare network namespace" 31//usage: "\n -n,--net[=FILE] Unshare network namespace"
32//usage: "\n -p, --pid[=FILE] Unshare PID namespace" 32//usage: "\n -p,--pid[=FILE] Unshare PID namespace"
33//usage: "\n -U, --user[=FILE} Unshare user namespace" 33//usage: "\n -U,--user[=FILE] Unshare user namespace"
34//usage: "\n -f, --fork Fork before execing PROG" 34//usage: "\n -f,--fork Fork before execing PROG"
35//usage: "\n -r, --map-root-user Map current user to root (implies -u)" 35//usage: "\n -r,--map-root-user Map current user to root (implies -u)"
36//usage: "\n --mount-proc[=DIR] Mount /proc filesystem first (implies -m)" 36//usage: "\n --mount-proc[=DIR] Mount /proc filesystem first (implies -m)"
37//usage: "\n --propagation slave|shared|private|unchanged" 37//usage: "\n --propagation slave|shared|private|unchanged"
38//usage: "\n Modify mount propagation in mount namespace" 38//usage: "\n Modify mount propagation in mount namespace"