help text tweaks
function old new delta packed_usage 33570 33502 -68 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -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"
|
||||
|
@ -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,
|
||||
|
@ -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"
|
||||
|
@ -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(
|
||||
|
@ -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."
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user