Trim help text. With compressed help: -143 bytes
text data bss dec hex filename 772572 1168 22680 796420 c2704 busybox_old 772444 1168 22680 796292 c2684 busybox_unstripped
This commit is contained in:
parent
d4293c77f1
commit
b69e872229
101
include/usage.h
101
include/usage.h
@ -23,13 +23,13 @@
|
||||
#define adduser_full_usage \
|
||||
"Add a user to the system" \
|
||||
"\n\nOptions:\n" \
|
||||
" -h DIR Assign home directory DIR\n" \
|
||||
" -g GECOS Assign gecos field GECOS\n" \
|
||||
" -s SHELL Assign login shell SHELL\n" \
|
||||
" -G Add the user to existing group GROUP\n" \
|
||||
" -h DIR Home directory\n" \
|
||||
" -g GECOS GECOS field\n" \
|
||||
" -s SHELL Login shell\n" \
|
||||
" -G GROUP Add user to existing group\n" \
|
||||
" -S Create a system user (ignored)\n" \
|
||||
" -D Do not assign a password (logins still possible via ssh)\n" \
|
||||
" -H Do not create the home directory"
|
||||
" -H Do not create home directory"
|
||||
|
||||
#define adjtimex_trivial_usage \
|
||||
"[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]"
|
||||
@ -40,7 +40,7 @@
|
||||
" -q Quiet\n" \
|
||||
" -o offset Time offset, microseconds\n" \
|
||||
" -f frequency Frequency adjust, integer kernel units (65536 is 1ppm)\n" \
|
||||
" (positive values make the system clock run fast)\n" \
|
||||
" (positive values make the system clock run faster)\n" \
|
||||
" -t tick Microseconds per tick, usually 10000\n" \
|
||||
" -p timeconstant"
|
||||
|
||||
@ -102,9 +102,9 @@
|
||||
"[OPTION]... [program-text] [FILE ...]"
|
||||
#define awk_full_usage \
|
||||
"Options:\n" \
|
||||
" -v var=val Assign value 'val' to variable 'var'\n" \
|
||||
" -v var=val Set variable\n" \
|
||||
" -F sep Use 'sep' as field separator\n" \
|
||||
" -f progname Read program source from file 'progname'"
|
||||
" -f filename Read program from file"
|
||||
|
||||
#define basename_trivial_usage \
|
||||
"FILE [SUFFIX]"
|
||||
@ -161,7 +161,7 @@
|
||||
#define cat_full_usage \
|
||||
"Concatenate FILE(s) and print them to stdout" \
|
||||
"\n\nOptions:" \
|
||||
"\n -u Ignored since unbuffered i/o is always used"
|
||||
"\n -u Use unbuffered i/o (ignored)"
|
||||
#define cat_example_usage \
|
||||
"$ cat /proc/uptime\n" \
|
||||
"110716.72 17.67"
|
||||
@ -221,7 +221,7 @@
|
||||
"Each MODE is one or more of the letters ugoa, one of the\n" \
|
||||
"symbols +-= and one or more of the letters rwxst" \
|
||||
"\n\nOptions:" \
|
||||
"\n -R Changes files and directories recursively" \
|
||||
"\n -R Recurse directories" \
|
||||
USE_DESKTOP( \
|
||||
"\n -c List changed files" \
|
||||
"\n -v List all files" \
|
||||
@ -466,13 +466,13 @@
|
||||
#define crontab_trivial_usage \
|
||||
"[-c dir] {file|-}|[-u|-l|-e|-d user]"
|
||||
#define crontab_full_usage \
|
||||
" File <opts> replace crontab from file\n" \
|
||||
" - <opts> replace crontab from stdin\n" \
|
||||
" -u user specify user\n" \
|
||||
" -l [user] list crontab for user\n" \
|
||||
" -e [user] edit crontab for user\n" \
|
||||
" -d [user] delete crontab for user\n" \
|
||||
" -c dir specify crontab directory"
|
||||
" file <opts> Replace crontab from file\n" \
|
||||
" - <opts> Replace crontab from stdin\n" \
|
||||
" -u user Specify user\n" \
|
||||
" -l [user] List crontab for user\n" \
|
||||
" -e [user] Edit crontab for user\n" \
|
||||
" -d [user] Delete crontab for user\n" \
|
||||
" -c dir Specify crontab directory"
|
||||
|
||||
#define cryptpw_trivial_usage \
|
||||
"[-a des|md5] [string]"
|
||||
@ -1026,7 +1026,7 @@
|
||||
"$ freeramdisk /dev/ram2\n"
|
||||
|
||||
#define fsck_trivial_usage \
|
||||
"[-ANPRTV] [ -C fd ] [-t fstype] [fs-options] [filesys ...]"
|
||||
"[-ANPRTV] [-C fd] [-t fstype] [fs-options] [filesys ...]"
|
||||
#define fsck_full_usage \
|
||||
"Check and repair filesystems" \
|
||||
"\n\nOptions:\n" \
|
||||
@ -1623,15 +1623,15 @@
|
||||
|
||||
#define ipaddr_trivial_usage \
|
||||
"{ {add|del} IFADDR dev STRING | {show|flush}\n" \
|
||||
" [ dev STRING ] [ to PREFIX ] }"
|
||||
" [dev STRING] [to PREFIX] }"
|
||||
#define ipaddr_full_usage \
|
||||
"ipaddr {add|delete} IFADDR dev STRING\n" \
|
||||
"ipaddr {show|flush} [ dev STRING ] [ scope SCOPE-ID ]\n" \
|
||||
" [ to PREFIX ] [ label PATTERN ]\n" \
|
||||
"ipaddr {show|flush} [dev STRING] [scope SCOPE-ID]\n" \
|
||||
" [to PREFIX] [label PATTERN]\n" \
|
||||
" IFADDR := PREFIX | ADDR peer PREFIX\n" \
|
||||
" [ broadcast ADDR ] [ anycast ADDR ]\n" \
|
||||
" [ label STRING ] [ scope SCOPE-ID ]\n" \
|
||||
" SCOPE-ID := [ host | link | global | NUMBER ]"
|
||||
" [broadcast ADDR] [anycast ADDR]\n" \
|
||||
" [label STRING] [scope SCOPE-ID]\n" \
|
||||
" SCOPE-ID := [host | link | global | NUMBER]"
|
||||
|
||||
#define ipcalc_trivial_usage \
|
||||
"[OPTION]... <ADDRESS>[[/]<NETMASK>] [NETMASK]"
|
||||
@ -1674,44 +1674,44 @@
|
||||
" -u Summary"
|
||||
|
||||
#define iplink_trivial_usage \
|
||||
"{ set DEVICE { up | down | arp { on | off } | show [ DEVICE ] }"
|
||||
"{ set DEVICE { up | down | arp { on | off } | show [DEVICE] }"
|
||||
#define iplink_full_usage \
|
||||
"iplink set DEVICE { up | down | arp | multicast { on | off } |\n" \
|
||||
" dynamic { on | off } |\n" \
|
||||
" mtu MTU }\n" \
|
||||
"iplink show [ DEVICE ]"
|
||||
"iplink show [DEVICE]"
|
||||
|
||||
#define iproute_trivial_usage \
|
||||
"{ list | flush | { add | del | change | append |\n" \
|
||||
" replace | monitor } ROUTE }"
|
||||
#define iproute_full_usage \
|
||||
"iproute { list | flush } SELECTOR\n" \
|
||||
"iproute get ADDRESS [ from ADDRESS iif STRING ]\n" \
|
||||
" [ oif STRING ] [ tos TOS ]\n" \
|
||||
"iproute get ADDRESS [from ADDRESS iif STRING]\n" \
|
||||
" [oif STRING] [tos TOS]\n" \
|
||||
"iproute { add | del | change | append | replace | monitor } ROUTE\n" \
|
||||
" SELECTOR := [ root PREFIX ] [ match PREFIX ] [ proto RTPROTO ]\n" \
|
||||
" ROUTE := [ TYPE ] PREFIX [ tos TOS ] [ proto RTPROTO ]"
|
||||
" SELECTOR := [root PREFIX] [match PREFIX] [proto RTPROTO]\n" \
|
||||
" ROUTE := [TYPE] PREFIX [tos TOS] [proto RTPROTO]"
|
||||
|
||||
#define iprule_trivial_usage \
|
||||
"{[ list | add | del ] RULE}"
|
||||
"{[list | add | del] RULE}"
|
||||
#define iprule_full_usage \
|
||||
"iprule [ list | add | del ] SELECTOR ACTION\n" \
|
||||
" SELECTOR := [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK ]\n" \
|
||||
" [ dev STRING ] [ pref NUMBER ]\n" \
|
||||
" ACTION := [ table TABLE_ID ] [ nat ADDRESS ]\n" \
|
||||
" [ prohibit | reject | unreachable ]\n" \
|
||||
" [ realms [SRCREALM/]DSTREALM ]\n" \
|
||||
" TABLE_ID := [ local | main | default | NUMBER ]"
|
||||
"iprule [list | add | del] SELECTOR ACTION\n" \
|
||||
" SELECTOR := [from PREFIX] [to PREFIX] [tos TOS] [fwmark FWMARK]\n" \
|
||||
" [dev STRING] [pref NUMBER]\n" \
|
||||
" ACTION := [table TABLE_ID] [nat ADDRESS]\n" \
|
||||
" [prohibit | reject | unreachable]\n" \
|
||||
" [realms [SRCREALM/]DSTREALM]\n" \
|
||||
" TABLE_ID := [local | main | default | NUMBER]"
|
||||
|
||||
#define iptunnel_trivial_usage \
|
||||
"{ add | change | del | show } [ NAME ]\n" \
|
||||
" [ mode { ipip | gre | sit } ]\n" \
|
||||
" [ remote ADDR ] [ local ADDR ] [ ttl TTL ]"
|
||||
"{ add | change | del | show } [NAME]\n" \
|
||||
" [mode { ipip | gre | sit }]\n" \
|
||||
" [remote ADDR] [local ADDR] [ttl TTL]"
|
||||
#define iptunnel_full_usage \
|
||||
"iptunnel { add | change | del | show } [ NAME ]\n" \
|
||||
" [ mode { ipip | gre | sit } ] [ remote ADDR ] [ local ADDR ]\n" \
|
||||
" [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ]\n" \
|
||||
" [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]"
|
||||
"iptunnel { add | change | del | show } [NAME]\n" \
|
||||
" [mode { ipip | gre | sit }] [remote ADDR] [local ADDR]\n" \
|
||||
" [[i|o]seq] [[i|o]key KEY] [[i|o]csum]\n" \
|
||||
" [ttl TTL] [tos TOS] [[no]pmtudisc] [dev PHYS_DEV]"
|
||||
|
||||
#define kill_trivial_usage \
|
||||
"[-l] [-signal] process-id [process-id ...]"
|
||||
@ -2678,7 +2678,6 @@
|
||||
" 745 root root S [getty]\n" \
|
||||
" 2990 andersen andersen R ps\n"
|
||||
|
||||
|
||||
#define pscan_trivial_usage \
|
||||
"[-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST"
|
||||
#define pscan_full_usage \
|
||||
@ -2756,7 +2755,7 @@
|
||||
" -f Force reboot (don't go through init)"
|
||||
|
||||
#define renice_trivial_usage \
|
||||
"{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]"
|
||||
"{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID ...]"
|
||||
#define renice_full_usage \
|
||||
"Change priority of running processes" \
|
||||
"\n\nOptions:\n" \
|
||||
@ -2936,7 +2935,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
|
||||
" -r Reset output to /dev/console"
|
||||
|
||||
#define setenforce_trivial_usage \
|
||||
"[ Enforcing | Permissive | 1 | 0 ]"
|
||||
"[Enforcing | Permissive | 1 | 0]"
|
||||
#define setenforce_full_usage
|
||||
|
||||
#define setkeycodes_trivial_usage \
|
||||
@ -3160,7 +3159,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
|
||||
)
|
||||
|
||||
#define strings_trivial_usage \
|
||||
"[-afo] [-n length] [file ... ]"
|
||||
"[-afo] [-n length] [file ...]"
|
||||
#define strings_full_usage \
|
||||
"Display printable strings in a binary file" \
|
||||
"\n\nOptions:" \
|
||||
@ -3427,7 +3426,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
|
||||
#define tcpsvd_trivial_usage \
|
||||
"[-hEv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] ip port prog..."
|
||||
/* with not-implemented options: */
|
||||
/* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [ -t sec] ip port prog..." */
|
||||
/* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [-t sec] ip port prog..." */
|
||||
#define tcpsvd_full_usage \
|
||||
"Creates TCP socket, binds it to ip:port and listens on it\n" \
|
||||
"for incoming connections. For each connection it runs prog." \
|
||||
@ -3635,7 +3634,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
|
||||
"Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n"
|
||||
|
||||
#define uncompress_trivial_usage \
|
||||
"[-c] [-f] [ name ... ]"
|
||||
"[-c] [-f] [name...]"
|
||||
#define uncompress_full_usage \
|
||||
"Uncompress .Z file[s]" \
|
||||
"\n\nOptions:\n" \
|
||||
|
Loading…
Reference in New Issue
Block a user