*: remove "Options:" string from help texts
function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
//usage: "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]"
|
||||
//usage:#define adjtimex_full_usage "\n\n"
|
||||
//usage: "Read and optionally set system timebase parameters. See adjtimex(2)\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -q Quiet"
|
||||
//usage: "\n -o OFF Time offset, microseconds"
|
||||
//usage: "\n -f FREQ Frequency adjust, integer kernel units (65536 is 1ppm)"
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
//usage:#define beep_trivial_usage
|
||||
//usage: "-f FREQ -l LEN -d DELAY -r COUNT -n"
|
||||
//usage:#define beep_full_usage "\n\n"
|
||||
//usage: "Options:"
|
||||
//usage: "\n -f Frequency in Hz"
|
||||
//usage: " -f Frequency in Hz"
|
||||
//usage: "\n -l Length in ms"
|
||||
//usage: "\n -d Delay in ms"
|
||||
//usage: "\n -r Repetitions"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
//usage: "[-prfom] [PRIO] [PID | PROG ARGS]"
|
||||
//usage:#define chrt_full_usage "\n\n"
|
||||
//usage: "Change scheduling priority and class for a process\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -p Operate on PID"
|
||||
//usage: "\n -r Set SCHED_RR class"
|
||||
//usage: "\n -f Set SCHED_FIFO class"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
//usage: "A text-mode VNC like program for Linux virtual consoles."
|
||||
//usage: "\nTo exit, quickly press ESC 3 times."
|
||||
//usage: "\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -v Don't send keystrokes to the console"
|
||||
//usage: "\n -c Create missing devices in /dev"
|
||||
//usage: "\n -s Open a SHELL session"
|
||||
|
||||
@@ -58,7 +58,6 @@
|
||||
//usage: "mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]")
|
||||
//usage:#define devfsd_full_usage "\n\n"
|
||||
//usage: "Manage devfs permissions and old device name symlinks\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n mntpnt The mount point where devfs is mounted"
|
||||
//usage: "\n -v Print the protocol version numbers for devfsd"
|
||||
//usage: "\n and the kernel-side protocol version and exit"
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
//usage: "[-t] [-T] [DEVICE]"
|
||||
//usage:#define eject_full_usage "\n\n"
|
||||
//usage: "Eject DEVICE or default /dev/cdrom\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: IF_FEATURE_EJECT_SCSI(
|
||||
//usage: "\n -s SCSI device"
|
||||
//usage: )
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
//usage:#define fbsplash_trivial_usage
|
||||
//usage: "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]"
|
||||
//usage:#define fbsplash_full_usage "\n\n"
|
||||
//usage: "Options:"
|
||||
//usage: "\n -s Image"
|
||||
//usage: " -s Image"
|
||||
//usage: "\n -c Hide cursor"
|
||||
//usage: "\n -d Framebuffer device (default /dev/fb0)"
|
||||
//usage: "\n -i Config file (var=value):"
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
//usage: "[-jq] MTD_DEVICE"
|
||||
//usage:#define flash_eraseall_full_usage "\n\n"
|
||||
//usage: "Erase an MTD device\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -j Format the device for jffs2"
|
||||
//usage: "\n -q Don't display progress messages"
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
//usage: "-v FILE MTD_DEVICE"
|
||||
//usage:#define flashcp_full_usage "\n\n"
|
||||
//usage: "Copy an image to MTD device\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -v Verbose"
|
||||
|
||||
#include "libbb.h"
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
//usage:#define hdparm_trivial_usage
|
||||
//usage: "[OPTIONS] [DEVICE]"
|
||||
//usage:#define hdparm_full_usage "\n\n"
|
||||
//usage: "Options:"
|
||||
//usage: "\n -a Get/set fs readahead"
|
||||
//usage: " -a Get/set fs readahead"
|
||||
//usage: "\n -A Set drive read-lookahead flag (0/1)"
|
||||
//usage: "\n -b Get/set bus state (0 == off, 1 == on, 2 == tristate)"
|
||||
//usage: "\n -B Set Advanced Power Management setting (1-255)"
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
//usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG]"
|
||||
//usage:#define ionice_full_usage "\n\n"
|
||||
//usage: "Change I/O priority and class\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -c Class. 1:realtime 2:best-effort 3:idle"
|
||||
//usage: "\n -n Priority"
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
//usage:#define last_full_usage "\n\n"
|
||||
//usage: "Show listing of the last users that logged into the system"
|
||||
//usage: IF_FEATURE_LAST_FANCY( "\n"
|
||||
//usage: "\nOptions:"
|
||||
/* //usage: "\n -H Show header line" */
|
||||
//usage: "\n -W Display with no host column truncation"
|
||||
//usage: "\n -f FILE Read from FILE instead of /var/log/wtmp"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
//usage: "[-EMNmh~I?] [FILE]..."
|
||||
//usage:#define less_full_usage "\n\n"
|
||||
//usage: "View FILE (or stdin) one screenful at a time\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -E Quit once the end of a file is reached"
|
||||
//usage: "\n -M,-m Display status line with line numbers"
|
||||
//usage: "\n and percentage through the file"
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
//usage: "[-aw] [MANPAGE]..."
|
||||
//usage:#define man_full_usage "\n\n"
|
||||
//usage: "Format and display manual page\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -a Display all pages"
|
||||
//usage: "\n -a Display all pages"
|
||||
//usage: "\n -w Show page locations"
|
||||
|
||||
#include "libbb.h"
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
//usage: "[-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTY"
|
||||
//usage:#define microcom_full_usage "\n\n"
|
||||
//usage: "Copy bytes for stdin to TTY and from TTY to stdout\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -d Wait up to DELAY ms for TTY output before sending every"
|
||||
//usage: "\n next byte to it"
|
||||
//usage: "\n -t Exit if both stdin and TTY are silent for TIMEOUT ms"
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
//usage: "[-q] <[-dn] DIR | -x DEVICE>"
|
||||
//usage:#define mountpoint_full_usage "\n\n"
|
||||
//usage: "Check if the directory is a mountpoint\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -q Quiet"
|
||||
//usage: "\n -d Print major/minor device number of the filesystem"
|
||||
//usage: "\n -n Print device name of the filesystem"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
//usage: "[-p] [-s ADDR] MTD_DEVICE [FILE]"
|
||||
//usage:#define nandwrite_full_usage "\n\n"
|
||||
//usage: "Write to the specified MTD device\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -p Pad to page size"
|
||||
//usage: "\n -s ADDR Start address"
|
||||
|
||||
@@ -40,7 +39,6 @@
|
||||
//usage: "[-o] [-b] [-s ADDR] [-f FILE] MTD_DEVICE"
|
||||
//usage:#define nanddump_full_usage "\n\n"
|
||||
//usage: "Dump the sepcified MTD device\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -o Omit oob data"
|
||||
//usage: "\n -b Omit bad block from the dump"
|
||||
//usage: "\n -s ADDR Start address"
|
||||
|
||||
@@ -212,8 +212,8 @@ struct serial_struct {
|
||||
//usage:#define setserial_trivial_usage
|
||||
//usage: "[-gabGvzV] DEVICE [PARAMETER [ARG]]..."
|
||||
//usage:#define setserial_full_usage "\n\n"
|
||||
//usage: "Request or set Linux serial port information\n\n"
|
||||
//usage: "Options:\n"
|
||||
//usage: "Request or set Linux serial port information\n"
|
||||
//usage: "\n"
|
||||
//usage: " -g Interpret parameters as list of devices for reporting"
|
||||
//usage: " -a Print all available information\n"
|
||||
//usage: " -b Print summary information\n"
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
//usage: "[-afo] [-n LEN] [FILE]..."
|
||||
//usage:#define strings_full_usage "\n\n"
|
||||
//usage: "Display printable strings in a binary file\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -a Scan whole file (default)"
|
||||
//usage: "\n -f Precede strings with filenames"
|
||||
//usage: "\n -n LEN At least LEN characters form a string (default 4)"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
//usage: "[-p] [MASK] [PID | PROG ARGS]"
|
||||
//usage:#define taskset_full_usage "\n\n"
|
||||
//usage: "Set or get CPU affinity\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -p Operate on an existing PID"
|
||||
//usage:
|
||||
//usage:#define taskset_example_usage
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
//usage: "[-v] PROG ARGS"
|
||||
//usage:#define time_full_usage "\n\n"
|
||||
//usage: "Run PROG, display resource usage when it exits\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -v Verbose"
|
||||
|
||||
#include "libbb.h"
|
||||
|
||||
@@ -81,7 +81,6 @@
|
||||
//usage: "-m MTD_NUM [-d UBI_NUM] UBI_CTRL_DEV"
|
||||
//usage:#define ubiattach_full_usage "\n\n"
|
||||
//usage: "Attach MTD device to UBI\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -m MTD_NUM MTD device number to attach"
|
||||
//usage: "\n -d UBI_NUM UBI device number to assign"
|
||||
//usage:
|
||||
@@ -89,14 +88,12 @@
|
||||
//usage: "-d UBI_NUM UBI_CTRL_DEV"
|
||||
//usage:#define ubidetach_full_usage "\n\n"
|
||||
//usage: "Detach MTD device from UBI\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -d UBI_NUM UBI device number"
|
||||
//usage:
|
||||
//usage:#define ubimkvol_trivial_usage
|
||||
//usage: "UBI_DEVICE -N NAME -s SIZE"
|
||||
//usage:#define ubimkvol_full_usage "\n\n"
|
||||
//usage: "Create UBI volume\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -a ALIGNMENT Volume alignment (default 1)"
|
||||
//usage: "\n -n VOLID Volume ID, if not specified, it"
|
||||
//usage: "\n will be assigned automatically"
|
||||
@@ -108,14 +105,12 @@
|
||||
//usage: "UBI_DEVICE -n VOLID"
|
||||
//usage:#define ubirmvol_full_usage "\n\n"
|
||||
//usage: "Remove UBI volume\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -n VOLID Volume ID"
|
||||
//usage:
|
||||
//usage:#define ubirsvol_trivial_usage
|
||||
//usage: "UBI_DEVICE -n VOLID -s SIZE"
|
||||
//usage:#define ubirsvol_full_usage "\n\n"
|
||||
//usage: "Resize UBI volume\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -n VOLID Volume ID to resize"
|
||||
//usage: "\n -s SIZE Size in bytes"
|
||||
//usage:
|
||||
@@ -123,9 +118,8 @@
|
||||
//usage: "UBI_DEVICE [IMG_FILE]"
|
||||
//usage:#define ubiupdatevol_full_usage "\n\n"
|
||||
//usage: "Update UBI volume\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -t Truncate UBI volume"
|
||||
//usage: "\n -s SIZE Bytes in input (if reading stdin)"
|
||||
//usage: "\n -t Truncate UBI volume"
|
||||
//usage: "\n -s SIZE Bytes in input (if reading stdin)"
|
||||
|
||||
|
||||
int ubi_tools_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
//usage: "[-t N[ms]] [-T N[ms]] [-F] DEV"
|
||||
//usage:#define watchdog_full_usage "\n\n"
|
||||
//usage: "Periodically write to watchdog device DEV\n"
|
||||
//usage: "\nOptions:"
|
||||
//usage: "\n -T N Reboot after N seconds if not reset (default 60)"
|
||||
//usage: "\n -t N Reset every N seconds (default 30)"
|
||||
//usage: "\n -F Run in foreground"
|
||||
|
||||
Reference in New Issue
Block a user