diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-05 03:58:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-05 03:58:28 +0200 |
commit | 66426760beef7e87c4735f433d123daf911b5b4a (patch) | |
tree | 7aa341ba4d1b01b69feeb878d1b78f974207abb0 /miscutils | |
parent | 9f7780250ce4bbee9c0a8f1044875e303479e196 (diff) | |
download | busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.tar.gz busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.tar.bz2 busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.zip |
*: remove "Options:" string from help texts
function old new delta
packed_usage 28706 28623 -83
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/adjtimex.c | 1 | ||||
-rw-r--r-- | miscutils/beep.c | 3 | ||||
-rw-r--r-- | miscutils/chrt.c | 1 | ||||
-rw-r--r-- | miscutils/conspy.c | 1 | ||||
-rw-r--r-- | miscutils/devfsd.c | 1 | ||||
-rw-r--r-- | miscutils/eject.c | 1 | ||||
-rw-r--r-- | miscutils/fbsplash.c | 3 | ||||
-rw-r--r-- | miscutils/flash_eraseall.c | 1 | ||||
-rw-r--r-- | miscutils/flashcp.c | 1 | ||||
-rw-r--r-- | miscutils/hdparm.c | 3 | ||||
-rw-r--r-- | miscutils/ionice.c | 1 | ||||
-rw-r--r-- | miscutils/last.c | 1 | ||||
-rw-r--r-- | miscutils/less.c | 1 | ||||
-rw-r--r-- | miscutils/man.c | 3 | ||||
-rw-r--r-- | miscutils/microcom.c | 1 | ||||
-rw-r--r-- | miscutils/mountpoint.c | 1 | ||||
-rw-r--r-- | miscutils/nandwrite.c | 2 | ||||
-rw-r--r-- | miscutils/setserial.c | 4 | ||||
-rw-r--r-- | miscutils/strings.c | 1 | ||||
-rw-r--r-- | miscutils/taskset.c | 1 | ||||
-rw-r--r-- | miscutils/time.c | 1 | ||||
-rw-r--r-- | miscutils/ubi_tools.c | 10 | ||||
-rw-r--r-- | miscutils/watchdog.c | 1 |
23 files changed, 8 insertions, 36 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index e1edbbebc..98b6ccfbf 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c | |||
@@ -15,7 +15,6 @@ | |||
15 | //usage: "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]" | 15 | //usage: "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]" |
16 | //usage:#define adjtimex_full_usage "\n\n" | 16 | //usage:#define adjtimex_full_usage "\n\n" |
17 | //usage: "Read and optionally set system timebase parameters. See adjtimex(2)\n" | 17 | //usage: "Read and optionally set system timebase parameters. See adjtimex(2)\n" |
18 | //usage: "\nOptions:" | ||
19 | //usage: "\n -q Quiet" | 18 | //usage: "\n -q Quiet" |
20 | //usage: "\n -o OFF Time offset, microseconds" | 19 | //usage: "\n -o OFF Time offset, microseconds" |
21 | //usage: "\n -f FREQ Frequency adjust, integer kernel units (65536 is 1ppm)" | 20 | //usage: "\n -f FREQ Frequency adjust, integer kernel units (65536 is 1ppm)" |
diff --git a/miscutils/beep.c b/miscutils/beep.c index c7699ffe1..910e03e1b 100644 --- a/miscutils/beep.c +++ b/miscutils/beep.c | |||
@@ -11,8 +11,7 @@ | |||
11 | //usage:#define beep_trivial_usage | 11 | //usage:#define beep_trivial_usage |
12 | //usage: "-f FREQ -l LEN -d DELAY -r COUNT -n" | 12 | //usage: "-f FREQ -l LEN -d DELAY -r COUNT -n" |
13 | //usage:#define beep_full_usage "\n\n" | 13 | //usage:#define beep_full_usage "\n\n" |
14 | //usage: "Options:" | 14 | //usage: " -f Frequency in Hz" |
15 | //usage: "\n -f Frequency in Hz" | ||
16 | //usage: "\n -l Length in ms" | 15 | //usage: "\n -l Length in ms" |
17 | //usage: "\n -d Delay in ms" | 16 | //usage: "\n -d Delay in ms" |
18 | //usage: "\n -r Repetitions" | 17 | //usage: "\n -r Repetitions" |
diff --git a/miscutils/chrt.c b/miscutils/chrt.c index 7e40b9f13..91b5397c4 100644 --- a/miscutils/chrt.c +++ b/miscutils/chrt.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //usage: "[-prfom] [PRIO] [PID | PROG ARGS]" | 10 | //usage: "[-prfom] [PRIO] [PID | PROG ARGS]" |
11 | //usage:#define chrt_full_usage "\n\n" | 11 | //usage:#define chrt_full_usage "\n\n" |
12 | //usage: "Change scheduling priority and class for a process\n" | 12 | //usage: "Change scheduling priority and class for a process\n" |
13 | //usage: "\nOptions:" | ||
14 | //usage: "\n -p Operate on PID" | 13 | //usage: "\n -p Operate on PID" |
15 | //usage: "\n -r Set SCHED_RR class" | 14 | //usage: "\n -r Set SCHED_RR class" |
16 | //usage: "\n -f Set SCHED_FIFO class" | 15 | //usage: "\n -f Set SCHED_FIFO class" |
diff --git a/miscutils/conspy.c b/miscutils/conspy.c index 90ef91c5c..433c3e829 100644 --- a/miscutils/conspy.c +++ b/miscutils/conspy.c | |||
@@ -30,7 +30,6 @@ | |||
30 | //usage: "A text-mode VNC like program for Linux virtual consoles." | 30 | //usage: "A text-mode VNC like program for Linux virtual consoles." |
31 | //usage: "\nTo exit, quickly press ESC 3 times." | 31 | //usage: "\nTo exit, quickly press ESC 3 times." |
32 | //usage: "\n" | 32 | //usage: "\n" |
33 | //usage: "\nOptions:" | ||
34 | //usage: "\n -v Don't send keystrokes to the console" | 33 | //usage: "\n -v Don't send keystrokes to the console" |
35 | //usage: "\n -c Create missing devices in /dev" | 34 | //usage: "\n -c Create missing devices in /dev" |
36 | //usage: "\n -s Open a SHELL session" | 35 | //usage: "\n -s Open a SHELL session" |
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 706276015..6493fe4f1 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -58,7 +58,6 @@ | |||
58 | //usage: "mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]") | 58 | //usage: "mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]") |
59 | //usage:#define devfsd_full_usage "\n\n" | 59 | //usage:#define devfsd_full_usage "\n\n" |
60 | //usage: "Manage devfs permissions and old device name symlinks\n" | 60 | //usage: "Manage devfs permissions and old device name symlinks\n" |
61 | //usage: "\nOptions:" | ||
62 | //usage: "\n mntpnt The mount point where devfs is mounted" | 61 | //usage: "\n mntpnt The mount point where devfs is mounted" |
63 | //usage: "\n -v Print the protocol version numbers for devfsd" | 62 | //usage: "\n -v Print the protocol version numbers for devfsd" |
64 | //usage: "\n and the kernel-side protocol version and exit" | 63 | //usage: "\n and the kernel-side protocol version and exit" |
diff --git a/miscutils/eject.c b/miscutils/eject.c index 184ccc5d7..a20e04b7f 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c | |||
@@ -17,7 +17,6 @@ | |||
17 | //usage: "[-t] [-T] [DEVICE]" | 17 | //usage: "[-t] [-T] [DEVICE]" |
18 | //usage:#define eject_full_usage "\n\n" | 18 | //usage:#define eject_full_usage "\n\n" |
19 | //usage: "Eject DEVICE or default /dev/cdrom\n" | 19 | //usage: "Eject DEVICE or default /dev/cdrom\n" |
20 | //usage: "\nOptions:" | ||
21 | //usage: IF_FEATURE_EJECT_SCSI( | 20 | //usage: IF_FEATURE_EJECT_SCSI( |
22 | //usage: "\n -s SCSI device" | 21 | //usage: "\n -s SCSI device" |
23 | //usage: ) | 22 | //usage: ) |
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index c761a88ca..51ba4729e 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c | |||
@@ -24,8 +24,7 @@ | |||
24 | //usage:#define fbsplash_trivial_usage | 24 | //usage:#define fbsplash_trivial_usage |
25 | //usage: "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" | 25 | //usage: "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" |
26 | //usage:#define fbsplash_full_usage "\n\n" | 26 | //usage:#define fbsplash_full_usage "\n\n" |
27 | //usage: "Options:" | 27 | //usage: " -s Image" |
28 | //usage: "\n -s Image" | ||
29 | //usage: "\n -c Hide cursor" | 28 | //usage: "\n -c Hide cursor" |
30 | //usage: "\n -d Framebuffer device (default /dev/fb0)" | 29 | //usage: "\n -d Framebuffer device (default /dev/fb0)" |
31 | //usage: "\n -i Config file (var=value):" | 30 | //usage: "\n -i Config file (var=value):" |
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c index 33803f87d..0598371d5 100644 --- a/miscutils/flash_eraseall.c +++ b/miscutils/flash_eraseall.c | |||
@@ -14,7 +14,6 @@ | |||
14 | //usage: "[-jq] MTD_DEVICE" | 14 | //usage: "[-jq] MTD_DEVICE" |
15 | //usage:#define flash_eraseall_full_usage "\n\n" | 15 | //usage:#define flash_eraseall_full_usage "\n\n" |
16 | //usage: "Erase an MTD device\n" | 16 | //usage: "Erase an MTD device\n" |
17 | //usage: "\nOptions:" | ||
18 | //usage: "\n -j Format the device for jffs2" | 17 | //usage: "\n -j Format the device for jffs2" |
19 | //usage: "\n -q Don't display progress messages" | 18 | //usage: "\n -q Don't display progress messages" |
20 | 19 | ||
diff --git a/miscutils/flashcp.c b/miscutils/flashcp.c index e4bb3a902..790f9c01f 100644 --- a/miscutils/flashcp.c +++ b/miscutils/flashcp.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //usage: "-v FILE MTD_DEVICE" | 11 | //usage: "-v FILE MTD_DEVICE" |
12 | //usage:#define flashcp_full_usage "\n\n" | 12 | //usage:#define flashcp_full_usage "\n\n" |
13 | //usage: "Copy an image to MTD device\n" | 13 | //usage: "Copy an image to MTD device\n" |
14 | //usage: "\nOptions:" | ||
15 | //usage: "\n -v Verbose" | 14 | //usage: "\n -v Verbose" |
16 | 15 | ||
17 | #include "libbb.h" | 16 | #include "libbb.h" |
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 7608408dd..f30e7dec6 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
@@ -15,8 +15,7 @@ | |||
15 | //usage:#define hdparm_trivial_usage | 15 | //usage:#define hdparm_trivial_usage |
16 | //usage: "[OPTIONS] [DEVICE]" | 16 | //usage: "[OPTIONS] [DEVICE]" |
17 | //usage:#define hdparm_full_usage "\n\n" | 17 | //usage:#define hdparm_full_usage "\n\n" |
18 | //usage: "Options:" | 18 | //usage: " -a Get/set fs readahead" |
19 | //usage: "\n -a Get/set fs readahead" | ||
20 | //usage: "\n -A Set drive read-lookahead flag (0/1)" | 19 | //usage: "\n -A Set drive read-lookahead flag (0/1)" |
21 | //usage: "\n -b Get/set bus state (0 == off, 1 == on, 2 == tristate)" | 20 | //usage: "\n -b Get/set bus state (0 == off, 1 == on, 2 == tristate)" |
22 | //usage: "\n -B Set Advanced Power Management setting (1-255)" | 21 | //usage: "\n -B Set Advanced Power Management setting (1-255)" |
diff --git a/miscutils/ionice.c b/miscutils/ionice.c index 2bc83c5eb..bd300605f 100644 --- a/miscutils/ionice.c +++ b/miscutils/ionice.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG]" | 11 | //usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG]" |
12 | //usage:#define ionice_full_usage "\n\n" | 12 | //usage:#define ionice_full_usage "\n\n" |
13 | //usage: "Change I/O priority and class\n" | 13 | //usage: "Change I/O priority and class\n" |
14 | //usage: "\nOptions:" | ||
15 | //usage: "\n -c Class. 1:realtime 2:best-effort 3:idle" | 14 | //usage: "\n -c Class. 1:realtime 2:best-effort 3:idle" |
16 | //usage: "\n -n Priority" | 15 | //usage: "\n -n Priority" |
17 | 16 | ||
diff --git a/miscutils/last.c b/miscutils/last.c index 27f5a35ce..d52780374 100644 --- a/miscutils/last.c +++ b/miscutils/last.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //usage:#define last_full_usage "\n\n" | 12 | //usage:#define last_full_usage "\n\n" |
13 | //usage: "Show listing of the last users that logged into the system" | 13 | //usage: "Show listing of the last users that logged into the system" |
14 | //usage: IF_FEATURE_LAST_FANCY( "\n" | 14 | //usage: IF_FEATURE_LAST_FANCY( "\n" |
15 | //usage: "\nOptions:" | ||
16 | /* //usage: "\n -H Show header line" */ | 15 | /* //usage: "\n -H Show header line" */ |
17 | //usage: "\n -W Display with no host column truncation" | 16 | //usage: "\n -W Display with no host column truncation" |
18 | //usage: "\n -f FILE Read from FILE instead of /var/log/wtmp" | 17 | //usage: "\n -f FILE Read from FILE instead of /var/log/wtmp" |
diff --git a/miscutils/less.c b/miscutils/less.c index 77fd5a8de..46024f9f7 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -25,7 +25,6 @@ | |||
25 | //usage: "[-EMNmh~I?] [FILE]..." | 25 | //usage: "[-EMNmh~I?] [FILE]..." |
26 | //usage:#define less_full_usage "\n\n" | 26 | //usage:#define less_full_usage "\n\n" |
27 | //usage: "View FILE (or stdin) one screenful at a time\n" | 27 | //usage: "View FILE (or stdin) one screenful at a time\n" |
28 | //usage: "\nOptions:" | ||
29 | //usage: "\n -E Quit once the end of a file is reached" | 28 | //usage: "\n -E Quit once the end of a file is reached" |
30 | //usage: "\n -M,-m Display status line with line numbers" | 29 | //usage: "\n -M,-m Display status line with line numbers" |
31 | //usage: "\n and percentage through the file" | 30 | //usage: "\n and percentage through the file" |
diff --git a/miscutils/man.c b/miscutils/man.c index 2c6b25ceb..3bf7e84b6 100644 --- a/miscutils/man.c +++ b/miscutils/man.c | |||
@@ -7,8 +7,7 @@ | |||
7 | //usage: "[-aw] [MANPAGE]..." | 7 | //usage: "[-aw] [MANPAGE]..." |
8 | //usage:#define man_full_usage "\n\n" | 8 | //usage:#define man_full_usage "\n\n" |
9 | //usage: "Format and display manual page\n" | 9 | //usage: "Format and display manual page\n" |
10 | //usage: "\nOptions:" | 10 | //usage: "\n -a Display all pages" |
11 | //usage: "\n -a Display all pages" | ||
12 | //usage: "\n -w Show page locations" | 11 | //usage: "\n -w Show page locations" |
13 | 12 | ||
14 | #include "libbb.h" | 13 | #include "libbb.h" |
diff --git a/miscutils/microcom.c b/miscutils/microcom.c index edaeb6fa5..5e29a1acd 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //usage: "[-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTY" | 12 | //usage: "[-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTY" |
13 | //usage:#define microcom_full_usage "\n\n" | 13 | //usage:#define microcom_full_usage "\n\n" |
14 | //usage: "Copy bytes for stdin to TTY and from TTY to stdout\n" | 14 | //usage: "Copy bytes for stdin to TTY and from TTY to stdout\n" |
15 | //usage: "\nOptions:" | ||
16 | //usage: "\n -d Wait up to DELAY ms for TTY output before sending every" | 15 | //usage: "\n -d Wait up to DELAY ms for TTY output before sending every" |
17 | //usage: "\n next byte to it" | 16 | //usage: "\n next byte to it" |
18 | //usage: "\n -t Exit if both stdin and TTY are silent for TIMEOUT ms" | 17 | //usage: "\n -t Exit if both stdin and TTY are silent for TIMEOUT ms" |
diff --git a/miscutils/mountpoint.c b/miscutils/mountpoint.c index a1a5b396a..7041f7c59 100644 --- a/miscutils/mountpoint.c +++ b/miscutils/mountpoint.c | |||
@@ -13,7 +13,6 @@ | |||
13 | //usage: "[-q] <[-dn] DIR | -x DEVICE>" | 13 | //usage: "[-q] <[-dn] DIR | -x DEVICE>" |
14 | //usage:#define mountpoint_full_usage "\n\n" | 14 | //usage:#define mountpoint_full_usage "\n\n" |
15 | //usage: "Check if the directory is a mountpoint\n" | 15 | //usage: "Check if the directory is a mountpoint\n" |
16 | //usage: "\nOptions:" | ||
17 | //usage: "\n -q Quiet" | 16 | //usage: "\n -q Quiet" |
18 | //usage: "\n -d Print major/minor device number of the filesystem" | 17 | //usage: "\n -d Print major/minor device number of the filesystem" |
19 | //usage: "\n -n Print device name of the filesystem" | 18 | //usage: "\n -n Print device name of the filesystem" |
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index c7fbe7d9c..768aed116 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c | |||
@@ -32,7 +32,6 @@ | |||
32 | //usage: "[-p] [-s ADDR] MTD_DEVICE [FILE]" | 32 | //usage: "[-p] [-s ADDR] MTD_DEVICE [FILE]" |
33 | //usage:#define nandwrite_full_usage "\n\n" | 33 | //usage:#define nandwrite_full_usage "\n\n" |
34 | //usage: "Write to the specified MTD device\n" | 34 | //usage: "Write to the specified MTD device\n" |
35 | //usage: "\nOptions:" | ||
36 | //usage: "\n -p Pad to page size" | 35 | //usage: "\n -p Pad to page size" |
37 | //usage: "\n -s ADDR Start address" | 36 | //usage: "\n -s ADDR Start address" |
38 | 37 | ||
@@ -40,7 +39,6 @@ | |||
40 | //usage: "[-o] [-b] [-s ADDR] [-f FILE] MTD_DEVICE" | 39 | //usage: "[-o] [-b] [-s ADDR] [-f FILE] MTD_DEVICE" |
41 | //usage:#define nanddump_full_usage "\n\n" | 40 | //usage:#define nanddump_full_usage "\n\n" |
42 | //usage: "Dump the sepcified MTD device\n" | 41 | //usage: "Dump the sepcified MTD device\n" |
43 | //usage: "\nOptions:" | ||
44 | //usage: "\n -o Omit oob data" | 42 | //usage: "\n -o Omit oob data" |
45 | //usage: "\n -b Omit bad block from the dump" | 43 | //usage: "\n -b Omit bad block from the dump" |
46 | //usage: "\n -s ADDR Start address" | 44 | //usage: "\n -s ADDR Start address" |
diff --git a/miscutils/setserial.c b/miscutils/setserial.c index 2951b987d..1574e3afd 100644 --- a/miscutils/setserial.c +++ b/miscutils/setserial.c | |||
@@ -212,8 +212,8 @@ struct serial_struct { | |||
212 | //usage:#define setserial_trivial_usage | 212 | //usage:#define setserial_trivial_usage |
213 | //usage: "[-gabGvzV] DEVICE [PARAMETER [ARG]]..." | 213 | //usage: "[-gabGvzV] DEVICE [PARAMETER [ARG]]..." |
214 | //usage:#define setserial_full_usage "\n\n" | 214 | //usage:#define setserial_full_usage "\n\n" |
215 | //usage: "Request or set Linux serial port information\n\n" | 215 | //usage: "Request or set Linux serial port information\n" |
216 | //usage: "Options:\n" | 216 | //usage: "\n" |
217 | //usage: " -g Interpret parameters as list of devices for reporting" | 217 | //usage: " -g Interpret parameters as list of devices for reporting" |
218 | //usage: " -a Print all available information\n" | 218 | //usage: " -a Print all available information\n" |
219 | //usage: " -b Print summary information\n" | 219 | //usage: " -b Print summary information\n" |
diff --git a/miscutils/strings.c b/miscutils/strings.c index 6e8b9aefc..9f5018244 100644 --- a/miscutils/strings.c +++ b/miscutils/strings.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //usage: "[-afo] [-n LEN] [FILE]..." | 11 | //usage: "[-afo] [-n LEN] [FILE]..." |
12 | //usage:#define strings_full_usage "\n\n" | 12 | //usage:#define strings_full_usage "\n\n" |
13 | //usage: "Display printable strings in a binary file\n" | 13 | //usage: "Display printable strings in a binary file\n" |
14 | //usage: "\nOptions:" | ||
15 | //usage: "\n -a Scan whole file (default)" | 14 | //usage: "\n -a Scan whole file (default)" |
16 | //usage: "\n -f Precede strings with filenames" | 15 | //usage: "\n -f Precede strings with filenames" |
17 | //usage: "\n -n LEN At least LEN characters form a string (default 4)" | 16 | //usage: "\n -n LEN At least LEN characters form a string (default 4)" |
diff --git a/miscutils/taskset.c b/miscutils/taskset.c index 77fc8643d..4a9e3230d 100644 --- a/miscutils/taskset.c +++ b/miscutils/taskset.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //usage: "[-p] [MASK] [PID | PROG ARGS]" | 10 | //usage: "[-p] [MASK] [PID | PROG ARGS]" |
11 | //usage:#define taskset_full_usage "\n\n" | 11 | //usage:#define taskset_full_usage "\n\n" |
12 | //usage: "Set or get CPU affinity\n" | 12 | //usage: "Set or get CPU affinity\n" |
13 | //usage: "\nOptions:" | ||
14 | //usage: "\n -p Operate on an existing PID" | 13 | //usage: "\n -p Operate on an existing PID" |
15 | //usage: | 14 | //usage: |
16 | //usage:#define taskset_example_usage | 15 | //usage:#define taskset_example_usage |
diff --git a/miscutils/time.c b/miscutils/time.c index dcd89f8fc..945f15f0d 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -13,7 +13,6 @@ | |||
13 | //usage: "[-v] PROG ARGS" | 13 | //usage: "[-v] PROG ARGS" |
14 | //usage:#define time_full_usage "\n\n" | 14 | //usage:#define time_full_usage "\n\n" |
15 | //usage: "Run PROG, display resource usage when it exits\n" | 15 | //usage: "Run PROG, display resource usage when it exits\n" |
16 | //usage: "\nOptions:" | ||
17 | //usage: "\n -v Verbose" | 16 | //usage: "\n -v Verbose" |
18 | 17 | ||
19 | #include "libbb.h" | 18 | #include "libbb.h" |
diff --git a/miscutils/ubi_tools.c b/miscutils/ubi_tools.c index fc7f38c5d..2a426dbdc 100644 --- a/miscutils/ubi_tools.c +++ b/miscutils/ubi_tools.c | |||
@@ -81,7 +81,6 @@ | |||
81 | //usage: "-m MTD_NUM [-d UBI_NUM] UBI_CTRL_DEV" | 81 | //usage: "-m MTD_NUM [-d UBI_NUM] UBI_CTRL_DEV" |
82 | //usage:#define ubiattach_full_usage "\n\n" | 82 | //usage:#define ubiattach_full_usage "\n\n" |
83 | //usage: "Attach MTD device to UBI\n" | 83 | //usage: "Attach MTD device to UBI\n" |
84 | //usage: "\nOptions:" | ||
85 | //usage: "\n -m MTD_NUM MTD device number to attach" | 84 | //usage: "\n -m MTD_NUM MTD device number to attach" |
86 | //usage: "\n -d UBI_NUM UBI device number to assign" | 85 | //usage: "\n -d UBI_NUM UBI device number to assign" |
87 | //usage: | 86 | //usage: |
@@ -89,14 +88,12 @@ | |||
89 | //usage: "-d UBI_NUM UBI_CTRL_DEV" | 88 | //usage: "-d UBI_NUM UBI_CTRL_DEV" |
90 | //usage:#define ubidetach_full_usage "\n\n" | 89 | //usage:#define ubidetach_full_usage "\n\n" |
91 | //usage: "Detach MTD device from UBI\n" | 90 | //usage: "Detach MTD device from UBI\n" |
92 | //usage: "\nOptions:" | ||
93 | //usage: "\n -d UBI_NUM UBI device number" | 91 | //usage: "\n -d UBI_NUM UBI device number" |
94 | //usage: | 92 | //usage: |
95 | //usage:#define ubimkvol_trivial_usage | 93 | //usage:#define ubimkvol_trivial_usage |
96 | //usage: "UBI_DEVICE -N NAME -s SIZE" | 94 | //usage: "UBI_DEVICE -N NAME -s SIZE" |
97 | //usage:#define ubimkvol_full_usage "\n\n" | 95 | //usage:#define ubimkvol_full_usage "\n\n" |
98 | //usage: "Create UBI volume\n" | 96 | //usage: "Create UBI volume\n" |
99 | //usage: "\nOptions:" | ||
100 | //usage: "\n -a ALIGNMENT Volume alignment (default 1)" | 97 | //usage: "\n -a ALIGNMENT Volume alignment (default 1)" |
101 | //usage: "\n -n VOLID Volume ID, if not specified, it" | 98 | //usage: "\n -n VOLID Volume ID, if not specified, it" |
102 | //usage: "\n will be assigned automatically" | 99 | //usage: "\n will be assigned automatically" |
@@ -108,14 +105,12 @@ | |||
108 | //usage: "UBI_DEVICE -n VOLID" | 105 | //usage: "UBI_DEVICE -n VOLID" |
109 | //usage:#define ubirmvol_full_usage "\n\n" | 106 | //usage:#define ubirmvol_full_usage "\n\n" |
110 | //usage: "Remove UBI volume\n" | 107 | //usage: "Remove UBI volume\n" |
111 | //usage: "\nOptions:" | ||
112 | //usage: "\n -n VOLID Volume ID" | 108 | //usage: "\n -n VOLID Volume ID" |
113 | //usage: | 109 | //usage: |
114 | //usage:#define ubirsvol_trivial_usage | 110 | //usage:#define ubirsvol_trivial_usage |
115 | //usage: "UBI_DEVICE -n VOLID -s SIZE" | 111 | //usage: "UBI_DEVICE -n VOLID -s SIZE" |
116 | //usage:#define ubirsvol_full_usage "\n\n" | 112 | //usage:#define ubirsvol_full_usage "\n\n" |
117 | //usage: "Resize UBI volume\n" | 113 | //usage: "Resize UBI volume\n" |
118 | //usage: "\nOptions:" | ||
119 | //usage: "\n -n VOLID Volume ID to resize" | 114 | //usage: "\n -n VOLID Volume ID to resize" |
120 | //usage: "\n -s SIZE Size in bytes" | 115 | //usage: "\n -s SIZE Size in bytes" |
121 | //usage: | 116 | //usage: |
@@ -123,9 +118,8 @@ | |||
123 | //usage: "UBI_DEVICE [IMG_FILE]" | 118 | //usage: "UBI_DEVICE [IMG_FILE]" |
124 | //usage:#define ubiupdatevol_full_usage "\n\n" | 119 | //usage:#define ubiupdatevol_full_usage "\n\n" |
125 | //usage: "Update UBI volume\n" | 120 | //usage: "Update UBI volume\n" |
126 | //usage: "\nOptions:" | 121 | //usage: "\n -t Truncate UBI volume" |
127 | //usage: "\n -t Truncate UBI volume" | 122 | //usage: "\n -s SIZE Bytes in input (if reading stdin)" |
128 | //usage: "\n -s SIZE Bytes in input (if reading stdin)" | ||
129 | 123 | ||
130 | 124 | ||
131 | int ubi_tools_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 125 | int ubi_tools_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index b24dd4b82..ee28dc30d 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
@@ -13,7 +13,6 @@ | |||
13 | //usage: "[-t N[ms]] [-T N[ms]] [-F] DEV" | 13 | //usage: "[-t N[ms]] [-T N[ms]] [-F] DEV" |
14 | //usage:#define watchdog_full_usage "\n\n" | 14 | //usage:#define watchdog_full_usage "\n\n" |
15 | //usage: "Periodically write to watchdog device DEV\n" | 15 | //usage: "Periodically write to watchdog device DEV\n" |
16 | //usage: "\nOptions:" | ||
17 | //usage: "\n -T N Reboot after N seconds if not reset (default 60)" | 16 | //usage: "\n -T N Reboot after N seconds if not reset (default 60)" |
18 | //usage: "\n -t N Reset every N seconds (default 30)" | 17 | //usage: "\n -t N Reset every N seconds (default 30)" |
19 | //usage: "\n -F Run in foreground" | 18 | //usage: "\n -F Run in foreground" |