diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-18 04:12:51 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-18 04:12:51 +0100 |
commit | a2f18d950a1a94e22fec78ee2d57f5cd3542551a (patch) | |
tree | 0e2540425675187e037e09cd0bf59c1740e91b49 /util-linux | |
parent | 15733cb48e570716cad6ece2d752507ecd767131 (diff) | |
download | busybox-w32-a2f18d950a1a94e22fec78ee2d57f5cd3542551a.tar.gz busybox-w32-a2f18d950a1a94e22fec78ee2d57f5cd3542551a.tar.bz2 busybox-w32-a2f18d950a1a94e22fec78ee2d57f5cd3542551a.zip |
help text tweaks
function old new delta
packed_usage 33570 33502 -68
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/chrt.c | 2 | ||||
-rw-r--r-- | util-linux/ionice.c | 8 | ||||
-rw-r--r-- | util-linux/nsenter.c | 2 | ||||
-rw-r--r-- | util-linux/setpriv.c | 2 | ||||
-rw-r--r-- | util-linux/uevent.c | 2 | ||||
-rw-r--r-- | util-linux/unshare.c | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/util-linux/chrt.c b/util-linux/chrt.c index 6e8f66741..a8701b55f 100644 --- a/util-linux/chrt.c +++ b/util-linux/chrt.c | |||
@@ -17,7 +17,7 @@ | |||
17 | //kbuild:lib-$(CONFIG_CHRT) += chrt.o | 17 | //kbuild:lib-$(CONFIG_CHRT) += chrt.o |
18 | 18 | ||
19 | //usage:#define chrt_trivial_usage | 19 | //usage:#define chrt_trivial_usage |
20 | //usage: "-m | -p [PRIO] PID | [-rfobi] PRIO PROG [ARGS]" | 20 | //usage: "-m | -p [PRIO] PID | [-rfobi] PRIO PROG ARGS" |
21 | //usage:#define chrt_full_usage "\n\n" | 21 | //usage:#define chrt_full_usage "\n\n" |
22 | //usage: "Change scheduling priority and class for a process\n" | 22 | //usage: "Change scheduling priority and class for a process\n" |
23 | //usage: "\n -m Show min/max priorities" | 23 | //usage: "\n -m Show min/max priorities" |
diff --git a/util-linux/ionice.c b/util-linux/ionice.c index 40c04d5e0..c8fb1a777 100644 --- a/util-linux/ionice.c +++ b/util-linux/ionice.c | |||
@@ -18,11 +18,11 @@ | |||
18 | //kbuild:lib-$(CONFIG_IONICE) += ionice.o | 18 | //kbuild:lib-$(CONFIG_IONICE) += ionice.o |
19 | 19 | ||
20 | //usage:#define ionice_trivial_usage | 20 | //usage:#define ionice_trivial_usage |
21 | //usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG]" | 21 | //usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG ARGS]" |
22 | //usage:#define ionice_full_usage "\n\n" | 22 | //usage:#define ionice_full_usage "\n\n" |
23 | //usage: "Change I/O priority and class\n" | 23 | //usage: "Change I/O priority and class\n" |
24 | //usage: "\n -c Class. 1:realtime 2:best-effort 3:idle" | 24 | //usage: "\n -c N Class. 1:realtime 2:best-effort 3:idle" |
25 | //usage: "\n -n Priority" | 25 | //usage: "\n -n N Priority" |
26 | 26 | ||
27 | #include <sys/syscall.h> | 27 | #include <sys/syscall.h> |
28 | #include <asm/unistd.h> | 28 | #include <asm/unistd.h> |
@@ -61,7 +61,7 @@ int ionice_main(int argc UNUSED_PARAM, char **argv) | |||
61 | /* Defaults */ | 61 | /* Defaults */ |
62 | int ioclass = 0; | 62 | int ioclass = 0; |
63 | int pri = 0; | 63 | int pri = 0; |
64 | int pid = 0; /* affect own porcess */ | 64 | int pid = 0; /* affect own process */ |
65 | int opt; | 65 | int opt; |
66 | enum { | 66 | enum { |
67 | OPT_n = 1, | 67 | OPT_n = 1, |
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c index 9cfbf21e4..e6339da2f 100644 --- a/util-linux/nsenter.c +++ b/util-linux/nsenter.c | |||
@@ -17,7 +17,7 @@ | |||
17 | //kbuild:lib-$(CONFIG_NSENTER) += nsenter.o | 17 | //kbuild:lib-$(CONFIG_NSENTER) += nsenter.o |
18 | 18 | ||
19 | //usage:#define nsenter_trivial_usage | 19 | //usage:#define nsenter_trivial_usage |
20 | //usage: "[OPTIONS] [PROG [ARGS]]" | 20 | //usage: "[OPTIONS] [PROG ARGS]" |
21 | //usage:#define nsenter_full_usage "\n" | 21 | //usage:#define nsenter_full_usage "\n" |
22 | //usage: "\n -t PID Target process to get namespaces from" | 22 | //usage: "\n -t PID Target process to get namespaces from" |
23 | //usage: "\n -m[FILE] Enter mount namespace" | 23 | //usage: "\n -m[FILE] Enter mount namespace" |
diff --git a/util-linux/setpriv.c b/util-linux/setpriv.c index 1e4b201ed..6904cf019 100644 --- a/util-linux/setpriv.c +++ b/util-linux/setpriv.c | |||
@@ -47,7 +47,7 @@ | |||
47 | //kbuild:lib-$(CONFIG_SETPRIV) += setpriv.o | 47 | //kbuild:lib-$(CONFIG_SETPRIV) += setpriv.o |
48 | 48 | ||
49 | //usage:#define setpriv_trivial_usage | 49 | //usage:#define setpriv_trivial_usage |
50 | //usage: "[OPTIONS] PROG [ARGS]" | 50 | //usage: "[OPTIONS] PROG ARGS" |
51 | //usage:#define setpriv_full_usage "\n\n" | 51 | //usage:#define setpriv_full_usage "\n\n" |
52 | //usage: "Run PROG with different privilege settings\n" | 52 | //usage: "Run PROG with different privilege settings\n" |
53 | //usage: IF_FEATURE_SETPRIV_DUMP( | 53 | //usage: IF_FEATURE_SETPRIV_DUMP( |
diff --git a/util-linux/uevent.c b/util-linux/uevent.c index 015f1ee78..db11746d0 100644 --- a/util-linux/uevent.c +++ b/util-linux/uevent.c | |||
@@ -15,7 +15,7 @@ | |||
15 | //kbuild:lib-$(CONFIG_UEVENT) += uevent.o | 15 | //kbuild:lib-$(CONFIG_UEVENT) += uevent.o |
16 | 16 | ||
17 | //usage:#define uevent_trivial_usage | 17 | //usage:#define uevent_trivial_usage |
18 | //usage: "[PROG [ARGS]]" | 18 | //usage: "[PROG ARGS]" |
19 | //usage:#define uevent_full_usage "\n\n" | 19 | //usage:#define uevent_full_usage "\n\n" |
20 | //usage: "uevent runs PROG for every netlink notification." | 20 | //usage: "uevent runs PROG for every netlink notification." |
21 | //usage: "\n""PROG's environment contains data passed from the kernel." | 21 | //usage: "\n""PROG's environment contains data passed from the kernel." |
diff --git a/util-linux/unshare.c b/util-linux/unshare.c index 2087413e8..68ccdd874 100644 --- a/util-linux/unshare.c +++ b/util-linux/unshare.c | |||
@@ -23,7 +23,7 @@ | |||
23 | //kbuild:lib-$(CONFIG_UNSHARE) += unshare.o | 23 | //kbuild:lib-$(CONFIG_UNSHARE) += unshare.o |
24 | 24 | ||
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.)" |
@@ -31,8 +31,8 @@ | |||
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 before execing PROG" |
35 | //usage: "\n -r,--map-root-user Map current user to root (implies -U)" | 35 | //usage: "\n -r 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" |