diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-21 02:49:58 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-21 02:49:58 +0100 |
commit | bbc7bee9664b582c8237c4b879bba1bdee4d62a6 (patch) | |
tree | 150b33e048693b206af92b258a76d859bcf2a1d8 | |
parent | f6e20724d4aac3655e921ff6072e60bbe182b273 (diff) | |
download | busybox-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>
-rw-r--r-- | coreutils/expand.c | 8 | ||||
-rw-r--r-- | miscutils/nandwrite.c | 4 | ||||
-rw-r--r-- | networking/udhcp/dumpleases.c | 2 | ||||
-rw-r--r-- | selinux/chcon.c | 10 | ||||
-rw-r--r-- | selinux/runcon.c | 8 | ||||
-rw-r--r-- | util-linux/fstrim.c | 6 | ||||
-rw-r--r-- | util-linux/getopt.c | 8 | ||||
-rw-r--r-- | util-linux/nsenter.c | 26 | ||||
-rw-r--r-- | util-linux/rtcwake.c | 8 | ||||
-rw-r--r-- | util-linux/unshare.c | 16 |
10 files changed, 48 insertions, 48 deletions
diff --git a/coreutils/expand.c b/coreutils/expand.c index 29affc932..63b682330 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c | |||
@@ -8,13 +8,13 @@ | |||
8 | * David MacKenzie <djm@gnu.ai.mit.edu> | 8 | * David MacKenzie <djm@gnu.ai.mit.edu> |
9 | * | 9 | * |
10 | * Options for expand: | 10 | * Options for expand: |
11 | * -t num --tabs=NUM Convert tabs to num spaces (default 8 spaces). | 11 | * -t num --tabs NUM Convert tabs to num spaces (default 8 spaces). |
12 | * -i --initial Only convert initial tabs on each line to spaces. | 12 | * -i --initial Only convert initial tabs on each line to spaces. |
13 | * | 13 | * |
14 | * Options for unexpand: | 14 | * Options for unexpand: |
15 | * -a --all Convert all blanks, instead of just initial blanks. | 15 | * -a --all Convert all blanks, instead of just initial blanks. |
16 | * -f --first-only Convert only leading sequences of blanks (default). | 16 | * -f --first-only Convert only leading sequences of blanks (default). |
17 | * -t num --tabs=NUM Have tabs num characters apart instead of 8. | 17 | * -t num --tabs NUM Have tabs num characters apart instead of 8. |
18 | * | 18 | * |
19 | * Busybox version (C) 2007 by Tito Ragusa <farmatito@tiscali.it> | 19 | * Busybox version (C) 2007 by Tito Ragusa <farmatito@tiscali.it> |
20 | * | 20 | * |
@@ -54,7 +54,7 @@ | |||
54 | //usage: "Convert tabs to spaces, writing to stdout\n" | 54 | //usage: "Convert tabs to spaces, writing to stdout\n" |
55 | //usage: IF_FEATURE_EXPAND_LONG_OPTIONS( | 55 | //usage: IF_FEATURE_EXPAND_LONG_OPTIONS( |
56 | //usage: "\n -i,--initial Don't convert tabs after non blanks" | 56 | //usage: "\n -i,--initial Don't convert tabs after non blanks" |
57 | //usage: "\n -t,--tabs=N Tabstops every N chars" | 57 | //usage: "\n -t,--tabs N Tabstops every N chars" |
58 | //usage: ) | 58 | //usage: ) |
59 | //usage: IF_NOT_FEATURE_EXPAND_LONG_OPTIONS( | 59 | //usage: IF_NOT_FEATURE_EXPAND_LONG_OPTIONS( |
60 | //usage: "\n -i Don't convert tabs after non blanks" | 60 | //usage: "\n -i Don't convert tabs after non blanks" |
@@ -68,7 +68,7 @@ | |||
68 | //usage: IF_FEATURE_UNEXPAND_LONG_OPTIONS( | 68 | //usage: IF_FEATURE_UNEXPAND_LONG_OPTIONS( |
69 | //usage: "\n -a,--all Convert all blanks" | 69 | //usage: "\n -a,--all Convert all blanks" |
70 | //usage: "\n -f,--first-only Convert only leading blanks" | 70 | //usage: "\n -f,--first-only Convert only leading blanks" |
71 | //usage: "\n -t,--tabs=N Tabstops every N chars" | 71 | //usage: "\n -t,--tabs N Tabstops every N chars" |
72 | //usage: ) | 72 | //usage: ) |
73 | //usage: IF_NOT_FEATURE_UNEXPAND_LONG_OPTIONS( | 73 | //usage: IF_NOT_FEATURE_UNEXPAND_LONG_OPTIONS( |
74 | //usage: "\n -a Convert all blanks" | 74 | //usage: "\n -a Convert all blanks" |
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index c95cbb21e..dbe9043f4 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c | |||
@@ -37,7 +37,7 @@ | |||
37 | //usage: "\n -s ADDR Start address" | 37 | //usage: "\n -s ADDR Start address" |
38 | 38 | ||
39 | //usage:#define nanddump_trivial_usage | 39 | //usage:#define nanddump_trivial_usage |
40 | //usage: "[-no]" IF_LONG_OPTS(" [--bb=padbad|skipbad]") " [-s ADDR] [-l LEN] [-f FILE] MTD_DEVICE" | 40 | //usage: "[-no]" IF_LONG_OPTS(" [--bb padbad|skipbad]") " [-s ADDR] [-l LEN] [-f FILE] MTD_DEVICE" |
41 | //usage:#define nanddump_full_usage "\n\n" | 41 | //usage:#define nanddump_full_usage "\n\n" |
42 | //usage: "Dump MTD_DEVICE\n" | 42 | //usage: "Dump MTD_DEVICE\n" |
43 | //usage: "\n -n Read without ecc" | 43 | //usage: "\n -n Read without ecc" |
@@ -46,7 +46,7 @@ | |||
46 | //usage: "\n -l LEN Length" | 46 | //usage: "\n -l LEN Length" |
47 | //usage: "\n -f FILE Dump to file ('-' for stdout)" | 47 | //usage: "\n -f FILE Dump to file ('-' for stdout)" |
48 | //usage: IF_LONG_OPTS( | 48 | //usage: IF_LONG_OPTS( |
49 | //usage: "\n --bb=METHOD:" | 49 | //usage: "\n --bb METHOD" |
50 | //usage: "\n skipbad: skip bad blocks" | 50 | //usage: "\n skipbad: skip bad blocks" |
51 | //usage: "\n padbad: substitute bad blocks by 0xff (default)" | 51 | //usage: "\n padbad: substitute bad blocks by 0xff (default)" |
52 | //usage: ) | 52 | //usage: ) |
diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index d83344a8d..dce9084b3 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c | |||
@@ -11,7 +11,7 @@ | |||
11 | //usage:#define dumpleases_full_usage "\n\n" | 11 | //usage:#define dumpleases_full_usage "\n\n" |
12 | //usage: "Display DHCP leases granted by udhcpd\n" | 12 | //usage: "Display DHCP leases granted by udhcpd\n" |
13 | //usage: IF_LONG_OPTS( | 13 | //usage: IF_LONG_OPTS( |
14 | //usage: "\n -f,--file=FILE Lease file" | 14 | //usage: "\n -f,--file FILE Lease file" |
15 | //usage: "\n -r,--remaining Show remaining time" | 15 | //usage: "\n -r,--remaining Show remaining time" |
16 | //usage: "\n -a,--absolute Show expiration time" | 16 | //usage: "\n -a,--absolute Show expiration time" |
17 | //usage: "\n -d,--decimal Show time in seconds" | 17 | //usage: "\n -d,--decimal Show time in seconds" |
diff --git a/selinux/chcon.c b/selinux/chcon.c index 4a9a4d3d5..ba9b08638 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -36,11 +36,11 @@ | |||
36 | //usage: "\n -c,--changes Report changes made" | 36 | //usage: "\n -c,--changes Report changes made" |
37 | //usage: "\n -h,--no-dereference Affect symlinks instead of their targets" | 37 | //usage: "\n -h,--no-dereference Affect symlinks instead of their targets" |
38 | //usage: "\n -f,--silent,--quiet Suppress most error messages" | 38 | //usage: "\n -f,--silent,--quiet Suppress most error messages" |
39 | //usage: "\n --reference=RFILE Use RFILE's group instead of using a CONTEXT value" | 39 | //usage: "\n --reference RFILE Use RFILE's group instead of using a CONTEXT value" |
40 | //usage: "\n -u,--user=USER Set user/role/type/range in the target" | 40 | //usage: "\n -u,--user USER Set user/role/type/range in the target" |
41 | //usage: "\n -r,--role=ROLE security context" | 41 | //usage: "\n -r,--role ROLE security context" |
42 | //usage: "\n -t,--type=TYPE" | 42 | //usage: "\n -t,--type TYPE" |
43 | //usage: "\n -l,--range=RANGE" | 43 | //usage: "\n -l,--range RANGE" |
44 | //usage: "\n -R,--recursive Recurse" | 44 | //usage: "\n -R,--recursive Recurse" |
45 | //usage: ) | 45 | //usage: ) |
46 | //usage: IF_NOT_FEATURE_CHCON_LONG_OPTIONS( | 46 | //usage: IF_NOT_FEATURE_CHCON_LONG_OPTIONS( |
diff --git a/selinux/runcon.c b/selinux/runcon.c index a30e3552f..82f4d50d3 100644 --- a/selinux/runcon.c +++ b/selinux/runcon.c | |||
@@ -52,10 +52,10 @@ | |||
52 | //usage: "\n CONTEXT Complete security context\n" | 52 | //usage: "\n CONTEXT Complete security context\n" |
53 | //usage: IF_FEATURE_RUNCON_LONG_OPTIONS( | 53 | //usage: IF_FEATURE_RUNCON_LONG_OPTIONS( |
54 | //usage: "\n -c,--compute Compute process transition context before modifying" | 54 | //usage: "\n -c,--compute Compute process transition context before modifying" |
55 | //usage: "\n -t,--type=TYPE Type (for same role as parent)" | 55 | //usage: "\n -t,--type TYPE Type (for same role as parent)" |
56 | //usage: "\n -u,--user=USER User identity" | 56 | //usage: "\n -u,--user USER User identity" |
57 | //usage: "\n -r,--role=ROLE Role" | 57 | //usage: "\n -r,--role ROLE Role" |
58 | //usage: "\n -l,--range=RNG Levelrange" | 58 | //usage: "\n -l,--range RNG Levelrange" |
59 | //usage: ) | 59 | //usage: ) |
60 | //usage: IF_NOT_FEATURE_RUNCON_LONG_OPTIONS( | 60 | //usage: IF_NOT_FEATURE_RUNCON_LONG_OPTIONS( |
61 | //usage: "\n -c Compute process transition context before modifying" | 61 | //usage: "\n -c Compute process transition context before modifying" |
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" |