aboutsummaryrefslogtreecommitdiff
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
parent1849285a2098b503b829038f00f25abc52dbea6b (diff)
downloadbusybox-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>
-rw-r--r--console-tools/loadfont.c2
-rw-r--r--coreutils/nproc.c2
-rw-r--r--miscutils/i2c_tools.c2
-rw-r--r--miscutils/mt.c2
-rw-r--r--networking/nameif.c4
-rw-r--r--procps/pgrep.c12
-rw-r--r--util-linux/flock.c2
-rw-r--r--util-linux/mountpoint.c9
-rw-r--r--util-linux/readprofile.c4
9 files changed, 20 insertions, 19 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index 7533b0aad..81a0e6aa8 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -399,7 +399,7 @@ setfont [-O font+umap.orig] [-o font.orig] [-om cmap.orig]
399-V Version 399-V Version
400*/ 400*/
401//usage:#define setfont_trivial_usage 401//usage:#define setfont_trivial_usage
402//usage: "FONT [-m MAPFILE] [-C TTY]" 402//usage: "[-m MAPFILE] [-C TTY] FILE"
403//usage:#define setfont_full_usage "\n\n" 403//usage:#define setfont_full_usage "\n\n"
404//usage: "Load a console font\n" 404//usage: "Load a console font\n"
405//usage: "\n -m MAPFILE Load console screen map" 405//usage: "\n -m MAPFILE Load console screen map"
diff --git a/coreutils/nproc.c b/coreutils/nproc.c
index 31e452bc4..89b17e0cc 100644
--- a/coreutils/nproc.c
+++ b/coreutils/nproc.c
@@ -14,7 +14,7 @@
14//kbuild:lib-$(CONFIG_NPROC) += nproc.o 14//kbuild:lib-$(CONFIG_NPROC) += nproc.o
15 15
16//usage:#define nproc_trivial_usage 16//usage:#define nproc_trivial_usage
17//usage: ""IF_LONG_OPTS("--all --ignore=N") 17//usage: ""IF_LONG_OPTS("[--all] [--ignore=N]")
18//usage:#define nproc_full_usage "\n\n" 18//usage:#define nproc_full_usage "\n\n"
19//usage: "Print number of available CPUs" 19//usage: "Print number of available CPUs"
20//usage: IF_LONG_OPTS( 20//usage: IF_LONG_OPTS(
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c
index 48135921d..b25d49792 100644
--- a/miscutils/i2c_tools.c
+++ b/miscutils/i2c_tools.c
@@ -1394,7 +1394,7 @@ static void check_i2c_func(int fd)
1394} 1394}
1395 1395
1396//usage:#define i2ctransfer_trivial_usage 1396//usage:#define i2ctransfer_trivial_usage
1397//usage: "[-fay] I2CBUS {rLENGTH[@ADDR] | wLENGTH[@ADDR] DATA...}..." 1397//usage: "[-fay] I2CBUS { rLENGTH[@ADDR] | wLENGTH[@ADDR] DATA...}..."
1398//usage:#define i2ctransfer_full_usage "\n\n" 1398//usage:#define i2ctransfer_full_usage "\n\n"
1399//usage: "Read/write I2C data in one transfer" 1399//usage: "Read/write I2C data in one transfer"
1400//usage: "\n" 1400//usage: "\n"
diff --git a/miscutils/mt.c b/miscutils/mt.c
index 1a4214664..52d5476a1 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -19,7 +19,7 @@
19//usage:#define mt_full_usage "\n\n" 19//usage:#define mt_full_usage "\n\n"
20//usage: "Control magnetic tape drive operation\n" 20//usage: "Control magnetic tape drive operation\n"
21//usage: "\n" 21//usage: "\n"
22//usage: "Available Opcodes:\n" 22//usage: "Opcodes:\n"
23//usage: "\n" 23//usage: "\n"
24//usage: "bsf bsfm bsr bss datacompression drvbuffer eof eom erase\n" 24//usage: "bsf bsfm bsr bss datacompression drvbuffer eof eom erase\n"
25//usage: "fsf fsfm fsr fss load lock mkpart nop offline ras1 ras2\n" 25//usage: "fsf fsfm fsr fss load lock mkpart nop offline ras1 ras2\n"
diff --git a/networking/nameif.c b/networking/nameif.c
index 854594c83..66e042688 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -52,10 +52,10 @@
52//usage:#define nameif_full_usage "\n\n" 52//usage:#define nameif_full_usage "\n\n"
53//usage: "Rename network interface while it in the down state." 53//usage: "Rename network interface while it in the down state."
54//usage: IF_NOT_FEATURE_NAMEIF_EXTENDED( 54//usage: IF_NOT_FEATURE_NAMEIF_EXTENDED(
55//usage: "\nThe device with address HWADDR is renamed to IFACE." 55//usage: "\nThe device with address HWADDR is renamed to IFNAME."
56//usage: ) 56//usage: )
57//usage: IF_FEATURE_NAMEIF_EXTENDED( 57//usage: IF_FEATURE_NAMEIF_EXTENDED(
58//usage: "\nThe device matched by SELECTOR is renamed to IFACE." 58//usage: "\nThe device matched by SELECTOR is renamed to IFNAME."
59//usage: "\nSELECTOR can be a combination of:" 59//usage: "\nSELECTOR can be a combination of:"
60//usage: "\n driver=STRING" 60//usage: "\n driver=STRING"
61//usage: "\n bus=STRING" 61//usage: "\n bus=STRING"
diff --git a/procps/pgrep.c b/procps/pgrep.c
index 495e0ef9d..6d25c247e 100644
--- a/procps/pgrep.c
+++ b/procps/pgrep.c
@@ -44,17 +44,17 @@
44//usage: "\n -P Match parent process ID" 44//usage: "\n -P Match parent process ID"
45//usage: 45//usage:
46//usage:#define pkill_trivial_usage 46//usage:#define pkill_trivial_usage
47//usage: "[-l|-SIGNAL] [-fnovx] [-s SID|-P PPID|PATTERN]" 47//usage: "[-l|-SIGNAL] [-xfvno] [-s SID|-P PPID|PATTERN]"
48//usage:#define pkill_full_usage "\n\n" 48//usage:#define pkill_full_usage "\n\n"
49//usage: "Send a signal to process(es) selected by regex PATTERN\n" 49//usage: "Send signal to processes selected by regex PATTERN\n"
50//usage: "\n -l List all signals" 50//usage: "\n -l List all signals"
51//usage: "\n -x Match whole name (not substring)"
51//usage: "\n -f Match against entire command line" 52//usage: "\n -f Match against entire command line"
53//usage: "\n -s SID Match session ID (0 for current)"
54//usage: "\n -P PPID Match parent process ID"
55//usage: "\n -v Negate the match"
52//usage: "\n -n Signal the newest process only" 56//usage: "\n -n Signal the newest process only"
53//usage: "\n -o Signal the oldest process only" 57//usage: "\n -o Signal the oldest process only"
54//usage: "\n -v Negate the match"
55//usage: "\n -x Match whole name (not substring)"
56//usage: "\n -s Match session ID (0 for current)"
57//usage: "\n -P Match parent process ID"
58 58
59#include "libbb.h" 59#include "libbb.h"
60#include "xregex.h" 60#include "xregex.h"
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"