summaryrefslogtreecommitdiffhomepage
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-06-14 20:47:20 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-06-14 20:47:20 +0200
commite2b9215868a3d72691e5bc0f887354254606447b (patch)
treed800e563fcd78971be6cd8630fba1d61677975fb /util-linux
parent643b308029ac42f466fa17e4ff400e47003205d9 (diff)
*: --help tweaks
function old new delta packed_usage 33589 33552 -37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/dmesg.c2
-rw-r--r--util-linux/ionice.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index dc4e57169..6670b84de 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -46,7 +46,7 @@
//kbuild:lib-$(CONFIG_DMESG) += dmesg.o
//usage:#define dmesg_trivial_usage
-//usage: "[-c] [-n LEVEL] [-s SIZE]"
+//usage: "[-cr] [-n LEVEL] [-s SIZE]"
//usage:#define dmesg_full_usage "\n\n"
//usage: "Print or control the kernel ring buffer\n"
//usage: "\n -c Clear ring buffer after printing"
diff --git a/util-linux/ionice.c b/util-linux/ionice.c
index c8fb1a777..ff5177abb 100644
--- a/util-linux/ionice.c
+++ b/util-linux/ionice.c
@@ -18,7 +18,8 @@
//kbuild:lib-$(CONFIG_IONICE) += ionice.o
//usage:#define ionice_trivial_usage
-//usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG ARGS]"
+//usage: "[-c 1-3] [-n 0-7] { -p PID | PROG ARGS }"
+//TODO: | -P PGID | -u UID; also -pPu can take _list of_ IDs
//usage:#define ionice_full_usage "\n\n"
//usage: "Change I/O priority and class\n"
//usage: "\n -c N Class. 1:realtime 2:best-effort 3:idle"