summaryrefslogtreecommitdiffhomepage
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-18 04:12:51 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-18 04:12:51 +0100
commita2f18d950a1a94e22fec78ee2d57f5cd3542551a (patch)
tree0e2540425675187e037e09cd0bf59c1740e91b49 /util-linux
parent15733cb48e570716cad6ece2d752507ecd767131 (diff)
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.c2
-rw-r--r--util-linux/ionice.c8
-rw-r--r--util-linux/nsenter.c2
-rw-r--r--util-linux/setpriv.c2
-rw-r--r--util-linux/uevent.c2
-rw-r--r--util-linux/unshare.c6
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 @@
//kbuild:lib-$(CONFIG_CHRT) += chrt.o
//usage:#define chrt_trivial_usage
-//usage: "-m | -p [PRIO] PID | [-rfobi] PRIO PROG [ARGS]"
+//usage: "-m | -p [PRIO] PID | [-rfobi] PRIO PROG ARGS"
//usage:#define chrt_full_usage "\n\n"
//usage: "Change scheduling priority and class for a process\n"
//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 @@
//kbuild:lib-$(CONFIG_IONICE) += ionice.o
//usage:#define ionice_trivial_usage
-//usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG]"
+//usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG ARGS]"
//usage:#define ionice_full_usage "\n\n"
//usage: "Change I/O priority and class\n"
-//usage: "\n -c Class. 1:realtime 2:best-effort 3:idle"
-//usage: "\n -n Priority"
+//usage: "\n -c N Class. 1:realtime 2:best-effort 3:idle"
+//usage: "\n -n N Priority"
#include <sys/syscall.h>
#include <asm/unistd.h>
@@ -61,7 +61,7 @@ int ionice_main(int argc UNUSED_PARAM, char **argv)
/* Defaults */
int ioclass = 0;
int pri = 0;
- int pid = 0; /* affect own porcess */
+ int pid = 0; /* affect own process */
int opt;
enum {
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 @@
//kbuild:lib-$(CONFIG_NSENTER) += nsenter.o
//usage:#define nsenter_trivial_usage
-//usage: "[OPTIONS] [PROG [ARGS]]"
+//usage: "[OPTIONS] [PROG ARGS]"
//usage:#define nsenter_full_usage "\n"
//usage: "\n -t PID Target process to get namespaces from"
//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 @@
//kbuild:lib-$(CONFIG_SETPRIV) += setpriv.o
//usage:#define setpriv_trivial_usage
-//usage: "[OPTIONS] PROG [ARGS]"
+//usage: "[OPTIONS] PROG ARGS"
//usage:#define setpriv_full_usage "\n\n"
//usage: "Run PROG with different privilege settings\n"
//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 @@
//kbuild:lib-$(CONFIG_UEVENT) += uevent.o
//usage:#define uevent_trivial_usage
-//usage: "[PROG [ARGS]]"
+//usage: "[PROG ARGS]"
//usage:#define uevent_full_usage "\n\n"
//usage: "uevent runs PROG for every netlink notification."
//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 @@
//kbuild:lib-$(CONFIG_UNSHARE) += unshare.o
//usage:#define unshare_trivial_usage
-//usage: "[OPTIONS] [PROG [ARGS]]"
+//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.)"
@@ -31,8 +31,8 @@
//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 -f Fork before execing PROG"
+//usage: "\n -r 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"