diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-13 03:51:55 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-13 03:51:55 +0200 |
| commit | 6f7b10cdabfe2b99d7839087f007ccf7a9083847 (patch) | |
| tree | d4395468c9aeca40614bdec44c270ac72690ed1e /util-linux | |
| parent | 1849285a2098b503b829038f00f25abc52dbea6b (diff) | |
| download | busybox-w32-6f7b10cdabfe2b99d7839087f007ccf7a9083847.tar.gz busybox-w32-6f7b10cdabfe2b99d7839087f007ccf7a9083847.tar.bz2 busybox-w32-6f7b10cdabfe2b99d7839087f007ccf7a9083847.zip | |
*: more --help tweaking
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/flock.c | 2 | ||||
| -rw-r--r-- | util-linux/mountpoint.c | 9 | ||||
| -rw-r--r-- | util-linux/readprofile.c | 4 |
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 @@ | |||
| 14 | //kbuild:lib-$(CONFIG_FLOCK) += flock.o | 14 | //kbuild:lib-$(CONFIG_FLOCK) += flock.o |
| 15 | 15 | ||
| 16 | //usage:#define flock_trivial_usage | 16 | //usage:#define flock_trivial_usage |
| 17 | //usage: "[-sxun] FD|{FILE [-c] PROG ARGS}" | 17 | //usage: "[-sxun] FD | { FILE [-c] PROG ARGS }" |
| 18 | //usage:#define flock_full_usage "\n\n" | 18 | //usage:#define flock_full_usage "\n\n" |
| 19 | //usage: "[Un]lock file descriptor, or lock FILE, run PROG\n" | 19 | //usage: "[Un]lock file descriptor, or lock FILE, run PROG\n" |
| 20 | //usage: "\n -s Shared lock" | 20 | //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 @@ | |||
| 19 | //kbuild:lib-$(CONFIG_MOUNTPOINT) += mountpoint.o | 19 | //kbuild:lib-$(CONFIG_MOUNTPOINT) += mountpoint.o |
| 20 | 20 | ||
| 21 | //usage:#define mountpoint_trivial_usage | 21 | //usage:#define mountpoint_trivial_usage |
| 22 | //usage: "[-q] <[-dn] DIR | -x DEVICE>" | 22 | //usage: "[-q] { [-dn] DIR | -x DEVICE }" |
| 23 | //usage:#define mountpoint_full_usage "\n\n" | 23 | //usage:#define mountpoint_full_usage "\n\n" |
| 24 | //usage: "Check if the directory is a mountpoint\n" | 24 | //usage: "Check if DIR is a mountpoint\n" |
| 25 | //usage: "\n -q Quiet" | 25 | //usage: "\n -q Quiet" |
| 26 | //usage: "\n -d Print major/minor device number of the filesystem" | 26 | //usage: "\n -d Print major:minor of the filesystem" |
| 27 | //usage: "\n -n Print device name of the filesystem" | 27 | //usage: "\n -n Print device name of the filesystem" |
| 28 | //usage: "\n -x Print major/minor device number of the blockdevice" | 28 | //////// -n is not supported by util-linux-2.36.1 ^^^^^^^^^^^^^^^^^^ |
| 29 | //usage: "\n -x Print major:minor of DEVICE" | ||
| 29 | //usage: | 30 | //usage: |
| 30 | //usage:#define mountpoint_example_usage | 31 | //usage:#define mountpoint_example_usage |
| 31 | //usage: "$ mountpoint /proc\n" | 32 | //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 @@ | |||
| 44 | //usage:#define readprofile_trivial_usage | 44 | //usage:#define readprofile_trivial_usage |
| 45 | //usage: "[OPTIONS]" | 45 | //usage: "[OPTIONS]" |
| 46 | //usage:#define readprofile_full_usage "\n\n" | 46 | //usage:#define readprofile_full_usage "\n\n" |
| 47 | //usage: " -m mapfile (Default: /boot/System.map)" | 47 | //usage: " -m MAPFILE (Default: /boot/System.map)" |
| 48 | //usage: "\n -p profile (Default: /proc/profile)" | 48 | //usage: "\n -p PROFILE (Default: /proc/profile)" |
| 49 | //usage: "\n -M NUM Set the profiling multiplier to NUM" | 49 | //usage: "\n -M NUM Set the profiling multiplier to NUM" |
| 50 | //usage: "\n -i Print only info about the sampling step" | 50 | //usage: "\n -i Print only info about the sampling step" |
| 51 | //usage: "\n -v Verbose" | 51 | //usage: "\n -v Verbose" |
