summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-06-13 03:51:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-06-13 03:51:55 +0200
commit6f7b10cdabfe2b99d7839087f007ccf7a9083847 (patch)
treed4395468c9aeca40614bdec44c270ac72690ed1e /util-linux
parent1849285a2098b503b829038f00f25abc52dbea6b (diff)
downloadbusybox-6f7b10cdabfe2b99d7839087f007ccf7a9083847.tar.gz
*: more --help tweaking
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/flock.c2
-rw-r--r--util-linux/mountpoint.c9
-rw-r--r--util-linux/readprofile.c4
3 files changed, 8 insertions, 7 deletions
diff --git a/util-linux/flock.c b/util-linux/flock.c
index 12c16013c..1ed752a80 100644
--- a/util-linux/flock.c
+++ b/util-linux/flock.c
@@ -14,7 +14,7 @@
//kbuild:lib-$(CONFIG_FLOCK) += flock.o
//usage:#define flock_trivial_usage
-//usage: "[-sxun] FD|{FILE [-c] PROG ARGS}"
+//usage: "[-sxun] FD | { FILE [-c] PROG ARGS }"
//usage:#define flock_full_usage "\n\n"
//usage: "[Un]lock file descriptor, or lock FILE, run PROG\n"
//usage: "\n -s Shared lock"
diff --git a/util-linux/mountpoint.c b/util-linux/mountpoint.c
index a44cf6013..28b1e7a54 100644
--- a/util-linux/mountpoint.c
+++ b/util-linux/mountpoint.c
@@ -19,13 +19,14 @@
//kbuild:lib-$(CONFIG_MOUNTPOINT) += mountpoint.o
//usage:#define mountpoint_trivial_usage
-//usage: "[-q] <[-dn] DIR | -x DEVICE>"
+//usage: "[-q] { [-dn] DIR | -x DEVICE }"
//usage:#define mountpoint_full_usage "\n\n"
-//usage: "Check if the directory is a mountpoint\n"
+//usage: "Check if DIR is a mountpoint\n"
//usage: "\n -q Quiet"
-//usage: "\n -d Print major/minor device number of the filesystem"
+//usage: "\n -d Print major:minor of the filesystem"
//usage: "\n -n Print device name of the filesystem"
-//usage: "\n -x Print major/minor device number of the blockdevice"
+//////// -n is not supported by util-linux-2.36.1 ^^^^^^^^^^^^^^^^^^
+//usage: "\n -x Print major:minor of DEVICE"
//usage:
//usage:#define mountpoint_example_usage
//usage: "$ mountpoint /proc\n"
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c
index 32d9987e7..f11c62292 100644
--- a/util-linux/readprofile.c
+++ b/util-linux/readprofile.c
@@ -44,8 +44,8 @@
//usage:#define readprofile_trivial_usage
//usage: "[OPTIONS]"
//usage:#define readprofile_full_usage "\n\n"
-//usage: " -m mapfile (Default: /boot/System.map)"
-//usage: "\n -p profile (Default: /proc/profile)"
+//usage: " -m MAPFILE (Default: /boot/System.map)"
+//usage: "\n -p PROFILE (Default: /proc/profile)"
//usage: "\n -M NUM Set the profiling multiplier to NUM"
//usage: "\n -i Print only info about the sampling step"
//usage: "\n -v Verbose"