diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-23 07:00:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-23 07:00:33 +0000 |
commit | 058e740d1e58604b37e2c94c505cd204eef32667 (patch) | |
tree | 5b9ac93a181adbfde8f9c47de56e7af4a4b39dbe | |
parent | 82e6c0b3db2868cebf773b269be8c8721f17e905 (diff) | |
download | busybox-w32-058e740d1e58604b37e2c94c505cd204eef32667.tar.gz busybox-w32-058e740d1e58604b37e2c94c505cd204eef32667.tar.bz2 busybox-w32-058e740d1e58604b37e2c94c505cd204eef32667.zip |
fix whitespace usage, fix un-escaped quotes in a bunch of examples, and standardize a bunch of trivial/full usage statements (no trailing newline in either, and when listing options, dont append a . each time)
-rw-r--r-- | include/usage.h | 380 |
1 files changed, 189 insertions, 191 deletions
diff --git a/include/usage.h b/include/usage.h index a0beb879c..213fd3926 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -46,7 +46,7 @@ | |||
46 | "\t-v\t\tverbosely list files processed" | 46 | "\t-v\t\tverbosely list files processed" |
47 | 47 | ||
48 | #define arping_trivial_usage \ | 48 | #define arping_trivial_usage \ |
49 | "[-fqbDUA] [-c count] [-w timeout] [-I device] [-s sender] target\n" | 49 | "[-fqbDUA] [-c count] [-w timeout] [-I device] [-s sender] target" |
50 | #define arping_full_usage \ | 50 | #define arping_full_usage \ |
51 | "Ping hosts by ARP requests/replies.\n\n" \ | 51 | "Ping hosts by ARP requests/replies.\n\n" \ |
52 | "Options:\n" \ | 52 | "Options:\n" \ |
@@ -64,7 +64,7 @@ | |||
64 | 64 | ||
65 | #define ash_trivial_usage \ | 65 | #define ash_trivial_usage \ |
66 | "[FILE]...\n" \ | 66 | "[FILE]...\n" \ |
67 | "or: ash -c command [args]...\n" | 67 | "or: ash -c command [args]..." |
68 | #define ash_full_usage \ | 68 | #define ash_full_usage \ |
69 | "The ash shell (command interpreter)" | 69 | "The ash shell (command interpreter)" |
70 | 70 | ||
@@ -142,14 +142,14 @@ | |||
142 | "\tu\tallow file to be undeleted\n" \ | 142 | "\tu\tallow file to be undeleted\n" \ |
143 | "Options:\n" \ | 143 | "Options:\n" \ |
144 | "\t-R\trecursively list subdirectories\n" \ | 144 | "\t-R\trecursively list subdirectories\n" \ |
145 | "\t-v\tset the file's version/generation number\n" | 145 | "\t-v\tset the file's version/generation number" |
146 | 146 | ||
147 | #define chgrp_trivial_usage \ | 147 | #define chgrp_trivial_usage \ |
148 | "[OPTION]... GROUP FILE..." | 148 | "[OPTION]... GROUP FILE..." |
149 | #define chgrp_full_usage \ | 149 | #define chgrp_full_usage \ |
150 | "Change the group membership of each FILE to GROUP.\n" \ | 150 | "Change the group membership of each FILE to GROUP.\n" \ |
151 | "\nOptions:\n" \ | 151 | "\nOptions:\n" \ |
152 | "\t-R\tChanges files and directories recursively." | 152 | "\t-R\tChanges files and directories recursively" |
153 | #define chgrp_example_usage \ | 153 | #define chgrp_example_usage \ |
154 | "$ ls -l /tmp/foo\n" \ | 154 | "$ ls -l /tmp/foo\n" \ |
155 | "-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \ | 155 | "-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \ |
@@ -163,7 +163,7 @@ | |||
163 | "Each MODE is one or more of the letters ugoa, one of the\n" \ | 163 | "Each MODE is one or more of the letters ugoa, one of the\n" \ |
164 | "symbols +-= and one or more of the letters rwxst.\n\n" \ | 164 | "symbols +-= and one or more of the letters rwxst.\n\n" \ |
165 | "Options:\n" \ | 165 | "Options:\n" \ |
166 | "\t-R\tChanges files and directories recursively." | 166 | "\t-R\tChanges files and directories recursively" |
167 | #define chmod_example_usage \ | 167 | #define chmod_example_usage \ |
168 | "$ ls -l /tmp/foo\n" \ | 168 | "$ ls -l /tmp/foo\n" \ |
169 | "-rw-rw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" \ | 169 | "-rw-rw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" \ |
@@ -179,8 +179,8 @@ | |||
179 | #define chown_full_usage \ | 179 | #define chown_full_usage \ |
180 | "Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" \ | 180 | "Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" \ |
181 | "\nOptions:\n" \ | 181 | "\nOptions:\n" \ |
182 | "\t-R\tChanges files and directories recursively.\n" \ | 182 | "\t-R\tChanges files and directories recursively\n" \ |
183 | "\t-h\tDo not dereference symbolic links." | 183 | "\t-h\tDo not dereference symbolic links" |
184 | #define chown_example_usage \ | 184 | #define chown_example_usage \ |
185 | "$ ls -l /tmp/foo\n" \ | 185 | "$ ls -l /tmp/foo\n" \ |
186 | "-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \ | 186 | "-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \ |
@@ -219,7 +219,7 @@ | |||
219 | "Compare files. Compares FILE1 vs stdin if FILE2 is not specified.\n\n" \ | 219 | "Compare files. Compares FILE1 vs stdin if FILE2 is not specified.\n\n" \ |
220 | "Options:\n" \ | 220 | "Options:\n" \ |
221 | "\t-l\tWrite the byte numbers (decimal) and values (octal)\n" \ | 221 | "\t-l\tWrite the byte numbers (decimal) and values (octal)\n" \ |
222 | "\t\t for all differing bytes.\n" \ | 222 | "\t\t for all differing bytes\n" \ |
223 | "\t-s\tquiet mode - do not print" | 223 | "\t-s\tquiet mode - do not print" |
224 | 224 | ||
225 | #define cp_trivial_usage \ | 225 | #define cp_trivial_usage \ |
@@ -284,9 +284,9 @@ | |||
284 | "\t-f N\t\tPrint only these fields\n" \ | 284 | "\t-f N\t\tPrint only these fields\n" \ |
285 | "\t-n\t\tIgnored" | 285 | "\t-n\t\tIgnored" |
286 | #define cut_example_usage \ | 286 | #define cut_example_usage \ |
287 | "$ echo "Hello world" | cut -f 1 -d ' '\n" \ | 287 | "$ echo \"Hello world\" | cut -f 1 -d ' '\n" \ |
288 | "Hello\n" \ | 288 | "Hello\n" \ |
289 | "$ echo "Hello world" | cut -f 2 -d ' '\n" \ | 289 | "$ echo \"Hello world\" | cut -f 2 -d ' '\n" \ |
290 | "world\n" | 290 | "world\n" |
291 | 291 | ||
292 | #ifdef CONFIG_FEATURE_DATE_ISOFMT | 292 | #ifdef CONFIG_FEATURE_DATE_ISOFMT |
@@ -302,10 +302,10 @@ | |||
302 | "\nOptions:\n" \ | 302 | "\nOptions:\n" \ |
303 | "\t-R\t\tOutputs RFC-822 compliant date string\n" \ | 303 | "\t-R\t\tOutputs RFC-822 compliant date string\n" \ |
304 | "\t-d STRING\tDisplays time described by STRING, not `now'\n" \ | 304 | "\t-d STRING\tDisplays time described by STRING, not `now'\n" \ |
305 | USAGE_DATE_ISOFMT("\t-I[TIMESPEC]\tOutputs an ISO-8601 compliant date/time string.\n" \ | 305 | USAGE_DATE_ISOFMT("\t-I[TIMESPEC]\tOutputs an ISO-8601 compliant date/time string\n" \ |
306 | "\t\t\tTIMESPEC=`date' (or missing) for date only,\n" \ | 306 | "\t\t\tTIMESPEC=`date' (or missing) for date only,\n" \ |
307 | "\t\t\t`hours', `minutes', or `seconds' for date and,\n" \ | 307 | "\t\t\t`hours', `minutes', or `seconds' for date and,\n" \ |
308 | "\t\t\ttime to the indicated precision.\n") \ | 308 | "\t\t\ttime to the indicated precision\n") \ |
309 | "\t-s\t\tSets time described by STRING\n" \ | 309 | "\t-s\t\tSets time described by STRING\n" \ |
310 | "\t-r FILE\t\tDisplays the last modification time of FILE\n" \ | 310 | "\t-r FILE\t\tDisplays the last modification time of FILE\n" \ |
311 | "\t-u\t\tPrints or sets Coordinated Universal Time" | 311 | "\t-u\t\tPrints or sets Coordinated Universal Time" |
@@ -317,14 +317,14 @@ | |||
317 | "expression ..." | 317 | "expression ..." |
318 | #define dc_full_usage \ | 318 | #define dc_full_usage \ |
319 | "This is a Tiny RPN calculator that understands the\n" \ | 319 | "This is a Tiny RPN calculator that understands the\n" \ |
320 | "following operations: +, add, -, sub, *, mul, /, div, %, mod, "\ | 320 | "following operations: +, add, -, sub, *, mul, /, div, %, mod, " \ |
321 | "**, exp, and, or, not, eor.\n" \ | 321 | "**, exp, and, or, not, eor.\n" \ |
322 | "For example: 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16.\n" \ | 322 | "For example: 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16.\n" \ |
323 | "\nOptions:\n" \ | 323 | "\nOptions:\n" \ |
324 | "p - Prints the value on the top of the stack, without altering the stack.\n" \ | 324 | "p - Prints the value on the top of the stack, without altering the stack\n" \ |
325 | "f - Prints the entire contents of the stack without altering anything.\n" \ | 325 | "f - Prints the entire contents of the stack without altering anything\n" \ |
326 | "o - Pops the value off the top of the stack and uses it to set the output radix.\n" \ | 326 | "o - Pops the value off the top of the stack and uses it to set the output radix\n" \ |
327 | " Only 10 and 16 are supported." | 327 | " Only 10 and 16 are supported" |
328 | #define dc_example_usage \ | 328 | #define dc_example_usage \ |
329 | "$ dc 2 2 + p\n" \ | 329 | "$ dc 2 2 + p\n" \ |
330 | "4\n" \ | 330 | "4\n" \ |
@@ -353,7 +353,7 @@ | |||
353 | "\tconv=sync\tpad blocks with zeros\n" \ | 353 | "\tconv=sync\tpad blocks with zeros\n" \ |
354 | "\n" \ | 354 | "\n" \ |
355 | "Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024),\n" \ | 355 | "Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024),\n" \ |
356 | "MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)." | 356 | "MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)" |
357 | #define dd_example_usage \ | 357 | #define dd_example_usage \ |
358 | "$ dd if=/dev/zero of=/dev/ram1 bs=1M count=4\n" \ | 358 | "$ dd if=/dev/zero of=/dev/ram1 bs=1M count=4\n" \ |
359 | "4+0 records in\n" \ | 359 | "4+0 records in\n" \ |
@@ -381,7 +381,7 @@ | |||
381 | #endif | 381 | #endif |
382 | 382 | ||
383 | #define devfsd_trivial_usage \ | 383 | #define devfsd_trivial_usage \ |
384 | "mntpnt [-v]"\ | 384 | "mntpnt [-v]" \ |
385 | USAGE_DEVFSD_FG_NP("[-fg][-np]" ) | 385 | USAGE_DEVFSD_FG_NP("[-fg][-np]" ) |
386 | #define devfsd_full_usage \ | 386 | #define devfsd_full_usage \ |
387 | "Optional daemon for managing devfs permissions and old device name symlinks.\n" \ | 387 | "Optional daemon for managing devfs permissions and old device name symlinks.\n" \ |
@@ -602,8 +602,8 @@ | |||
602 | #define fakeidentd_trivial_usage \ | 602 | #define fakeidentd_trivial_usage \ |
603 | "[-b ip] [STRING]" | 603 | "[-b ip] [STRING]" |
604 | #define fakeidentd_full_usage \ | 604 | #define fakeidentd_full_usage \ |
605 | "Returns a set string to auth requests\n\n"\ | 605 | "Returns a set string to auth requests\n\n" \ |
606 | "\t-b\tBind to ip address\n"\ | 606 | "\t-b\tBind to ip address\n" \ |
607 | "\tSTRING\tThe ident answer string (default is nobody)" | 607 | "\tSTRING\tThe ident answer string (default is nobody)" |
608 | 608 | ||
609 | #define false_trivial_usage \ | 609 | #define false_trivial_usage \ |
@@ -621,7 +621,7 @@ | |||
621 | "Show and modify frame buffer settings" | 621 | "Show and modify frame buffer settings" |
622 | #define fbset_example_usage \ | 622 | #define fbset_example_usage \ |
623 | "$ fbset\n" \ | 623 | "$ fbset\n" \ |
624 | "mode "1024x768-76"\n" \ | 624 | "mode \"1024x768-76\"\n" \ |
625 | "\t# D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz\n" \ | 625 | "\t# D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz\n" \ |
626 | "\tgeometry 1024 768 1024 768 16\n" \ | 626 | "\tgeometry 1024 768 1024 768 16\n" \ |
627 | "\ttimings 12714 128 32 16 4 128 4\n" \ | 627 | "\ttimings 12714 128 32 16 4 128 4\n" \ |
@@ -687,9 +687,9 @@ | |||
687 | "Search for files in a directory hierarchy. The default PATH is\n" \ | 687 | "Search for files in a directory hierarchy. The default PATH is\n" \ |
688 | "the current directory; default EXPRESSION is '-print'\n" \ | 688 | "the current directory; default EXPRESSION is '-print'\n" \ |
689 | "\nEXPRESSION may consist of:\n" \ | 689 | "\nEXPRESSION may consist of:\n" \ |
690 | "\t-follow\t\tDereference symbolic links.\n" \ | 690 | "\t-follow\t\tDereference symbolic links\n" \ |
691 | "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN.\n" \ | 691 | "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN\n" \ |
692 | "\t-print\t\tPrint (default and assumed).\n" \ | 692 | "\t-print\t\tPrint (default and assumed)\n" \ |
693 | USAGE_FIND_TYPE( \ | 693 | USAGE_FIND_TYPE( \ |
694 | "\n\t-type X\t\tFiletype matches X (where X is one of: f,d,l,b,c,...)" \ | 694 | "\n\t-type X\t\tFiletype matches X (where X is one of: f,d,l,b,c,...)" \ |
695 | ) USAGE_FIND_PERM( \ | 695 | ) USAGE_FIND_PERM( \ |
@@ -743,7 +743,7 @@ | |||
743 | "\t-v\tverbose\n" \ | 743 | "\t-v\tverbose\n" \ |
744 | "\t-s\tOutputs super-block information\n" \ | 744 | "\t-s\tOutputs super-block information\n" \ |
745 | "\t-m\tActivates MINIX-like \"mode not cleared\" warnings\n" \ | 745 | "\t-m\tActivates MINIX-like \"mode not cleared\" warnings\n" \ |
746 | "\t-f\tForce file system check." | 746 | "\t-f\tForce file system check" |
747 | 747 | ||
748 | #define ftpget_trivial_usage \ | 748 | #define ftpget_trivial_usage \ |
749 | "[options] remote-host local-file remote-file" | 749 | "[options] remote-host local-file remote-file" |
@@ -785,13 +785,13 @@ | |||
785 | "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \ | 785 | "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \ |
786 | " -n 'example.busybox' -- \"$@\"`\n" \ | 786 | " -n 'example.busybox' -- \"$@\"`\n" \ |
787 | "if [ $? != 0 ] ; then exit 1 ; fi\n" \ | 787 | "if [ $? != 0 ] ; then exit 1 ; fi\n" \ |
788 | "eval set -- "$GETOPT"\n" \ | 788 | "eval set -- \"$GETOPT\"\n" \ |
789 | "while true ; do\n" \ | 789 | "while true ; do\n" \ |
790 | " case $1 in\n" \ | 790 | " case $1 in\n" \ |
791 | " -a|--a-long) echo \"Option a\" ; shift ;;\n" \ | 791 | " -a|--a-long) echo \"Option a\" ; shift ;;\n" \ |
792 | " -b|--b-long) echo \"Option b, argument `$2'\" ; shift 2 ;;\n" \ | 792 | " -b|--b-long) echo \"Option b, argument `$2'\" ; shift 2 ;;\n" \ |
793 | " -c|--c-long)\n" \ | 793 | " -c|--c-long)\n" \ |
794 | " case "$2" in\n" \ | 794 | " case \"$2\" in\n" \ |
795 | " \"\") echo \"Option c, no argument\"; shift 2 ;;\n" \ | 795 | " \"\") echo \"Option c, no argument\"; shift 2 ;;\n" \ |
796 | " *) echo \"Option c, argument `$2'\" ; shift 2 ;;\n" \ | 796 | " *) echo \"Option c, argument `$2'\" ; shift 2 ;;\n" \ |
797 | " esac ;;\n" \ | 797 | " esac ;;\n" \ |
@@ -805,17 +805,17 @@ | |||
805 | #define getty_full_usage \ | 805 | #define getty_full_usage \ |
806 | "Opens a tty, prompts for a login name, then invokes /bin/login\n\n" \ | 806 | "Opens a tty, prompts for a login name, then invokes /bin/login\n\n" \ |
807 | "Options:\n" \ | 807 | "Options:\n" \ |
808 | "\t-h\t\tEnable hardware (RTS/CTS) flow control.\n" \ | 808 | "\t-h\t\tEnable hardware (RTS/CTS) flow control\n" \ |
809 | "\t-i\t\tDo not display /etc/issue before running login.\n" \ | 809 | "\t-i\t\tDo not display /etc/issue before running login\n" \ |
810 | "\t-L\t\tLocal line, so do not do carrier detect.\n" \ | 810 | "\t-L\t\tLocal line, so do not do carrier detect\n" \ |
811 | "\t-m\t\tGet baud rate from modem's CONNECT status message.\n" \ | 811 | "\t-m\t\tGet baud rate from modem's CONNECT status message\n" \ |
812 | "\t-w\t\tWait for a CR or LF before sending /etc/issue.\n" \ | 812 | "\t-w\t\tWait for a CR or LF before sending /etc/issue\n" \ |
813 | "\t-n\t\tDo not prompt the user for a login name.\n" \ | 813 | "\t-n\t\tDo not prompt the user for a login name\n" \ |
814 | "\t-f issue_file\tDisplay issue_file instead of /etc/issue.\n" \ | 814 | "\t-f issue_file\tDisplay issue_file instead of /etc/issue\n" \ |
815 | "\t-l login_app\tInvoke login_app instead of /bin/login.\n" \ | 815 | "\t-l login_app\tInvoke login_app instead of /bin/login\n" \ |
816 | "\t-t timeout\tTerminate after timeout if no username is read.\n" \ | 816 | "\t-t timeout\tTerminate after timeout if no username is read\n" \ |
817 | "\t-I initstring\tSets the init string to send before anything else.\n" \ | 817 | "\t-I initstring\tSets the init string to send before anything else\n" \ |
818 | "\t-H login_host\tLog login_host into the utmp file as the hostname." | 818 | "\t-H login_host\tLog login_host into the utmp file as the hostname" |
819 | 819 | ||
820 | 820 | ||
821 | #define grep_trivial_usage \ | 821 | #define grep_trivial_usage \ |
@@ -873,7 +873,7 @@ | |||
873 | #define halt_full_usage \ | 873 | #define halt_full_usage \ |
874 | "Halt the system.\n" \ | 874 | "Halt the system.\n" \ |
875 | "Options:\n" \ | 875 | "Options:\n" \ |
876 | "\t-d\t\tdelay interval for halting." | 876 | "\t-d\t\tdelay interval for halting" |
877 | 877 | ||
878 | #ifdef CONFIG_FEATURE_HDPARM_GET_IDENTITY | 878 | #ifdef CONFIG_FEATURE_HDPARM_GET_IDENTITY |
879 | #define USAGE_HDPARM_IDENT(a) a | 879 | #define USAGE_HDPARM_IDENT(a) a |
@@ -983,7 +983,7 @@ | |||
983 | "[-[bcdefnosvx]] [OPTION] FILE" | 983 | "[-[bcdefnosvx]] [OPTION] FILE" |
984 | #define hexdump_full_usage \ | 984 | #define hexdump_full_usage \ |
985 | "The hexdump utility is a filter which displays the specified files,\n" \ | 985 | "The hexdump utility is a filter which displays the specified files,\n" \ |
986 | "or the standard input, if no files are specified, in a user specified\n"\ | 986 | "or the standard input, if no files are specified, in a user specified\n" \ |
987 | "format\n" \ | 987 | "format\n" \ |
988 | "\t-b\t\tOne-byte octal display\n" \ | 988 | "\t-b\t\tOne-byte octal display\n" \ |
989 | "\t-c\t\tOne-byte character display\n" \ | 989 | "\t-c\t\tOne-byte character display\n" \ |
@@ -1047,7 +1047,7 @@ | |||
1047 | " [-h home]" \ | 1047 | " [-h home]" \ |
1048 | " [-d/-e <string>]" | 1048 | " [-d/-e <string>]" |
1049 | #define httpd_full_usage \ | 1049 | #define httpd_full_usage \ |
1050 | "Listens for incoming http server requests.\n\n"\ | 1050 | "Listens for incoming http server requests.\n\n" \ |
1051 | "Options:\n" \ | 1051 | "Options:\n" \ |
1052 | "\t-c FILE\t\tSpecifies configuration file. (default httpd.conf)\n" \ | 1052 | "\t-c FILE\t\tSpecifies configuration file. (default httpd.conf)\n" \ |
1053 | USAGE_HTTPD_STANDALONE("\t-p PORT\tServer port (default 80)\n") \ | 1053 | USAGE_HTTPD_STANDALONE("\t-p PORT\tServer port (default 80)\n") \ |
@@ -1166,7 +1166,7 @@ | |||
1166 | "Listens for network connections and launches programs\n\n" \ | 1166 | "Listens for network connections and launches programs\n\n" \ |
1167 | "Option:\n" \ | 1167 | "Option:\n" \ |
1168 | "\t-q\tSets the size of the socket listen queue to\n" \ | 1168 | "\t-q\tSets the size of the socket listen queue to\n" \ |
1169 | "\t\tthe specified value. Default is 128." | 1169 | "\t\tthe specified value. Default is 128" |
1170 | 1170 | ||
1171 | #define init_trivial_usage \ | 1171 | #define init_trivial_usage \ |
1172 | "" | 1172 | "" |
@@ -1204,7 +1204,7 @@ | |||
1204 | " WARNING: This field has a non-traditional meaning for BusyBox init!\n" \ | 1204 | " WARNING: This field has a non-traditional meaning for BusyBox init!\n" \ |
1205 | " The id field is used by BusyBox init to specify the controlling tty for\n" \ | 1205 | " The id field is used by BusyBox init to specify the controlling tty for\n" \ |
1206 | " the specified process to run on. The contents of this field are\n" \ | 1206 | " the specified process to run on. The contents of this field are\n" \ |
1207 | " appended to "/dev/" and used as-is. There is no need for this field to\n" \ | 1207 | " appended to \"/dev/\" and used as-is. There is no need for this field to\n" \ |
1208 | " be unique, although if it isn't you may have strange results. If this\n" \ | 1208 | " be unique, although if it isn't you may have strange results. If this\n" \ |
1209 | " field is left blank, the controlling tty is set to the console. Also\n" \ | 1209 | " field is left blank, the controlling tty is set to the console. Also\n" \ |
1210 | " note that if BusyBox detects that a serial console is in use, then only\n" \ | 1210 | " note that if BusyBox detects that a serial console is in use, then only\n" \ |
@@ -1250,7 +1250,7 @@ | |||
1250 | " it. Unlike sysvinit, BusyBox init does not stop processes from\n" \ | 1250 | " it. Unlike sysvinit, BusyBox init does not stop processes from\n" \ |
1251 | " respawning out of control. The 'askfirst' actions acts just like\n" \ | 1251 | " respawning out of control. The 'askfirst' actions acts just like\n" \ |
1252 | " respawn, except that before running the specified process it\n" \ | 1252 | " respawn, except that before running the specified process it\n" \ |
1253 | " displays the line "Please press Enter to activate this console."\n" \ | 1253 | " displays the line \"Please press Enter to activate this console.\"\n" \ |
1254 | " and then waits for the user to press enter before starting the\n" \ | 1254 | " and then waits for the user to press enter before starting the\n" \ |
1255 | " specified process.\n" \ | 1255 | " specified process.\n" \ |
1256 | "\n" \ | 1256 | "\n" \ |
@@ -1270,9 +1270,9 @@ | |||
1270 | " \n" \ | 1270 | " \n" \ |
1271 | " # /bin/sh invocations on selected ttys\n" \ | 1271 | " # /bin/sh invocations on selected ttys\n" \ |
1272 | " #\n" \ | 1272 | " #\n" \ |
1273 | " # Start an "askfirst" shell on the console (whatever that may be)\n" \ | 1273 | " # Start an \"askfirst\" shell on the console (whatever that may be)\n" \ |
1274 | " ::askfirst:-/bin/sh\n" \ | 1274 | " ::askfirst:-/bin/sh\n" \ |
1275 | " # Start an "askfirst" shell on /dev/tty2-4\n" \ | 1275 | " # Start an \"askfirst\" shell on /dev/tty2-4\n" \ |
1276 | " tty2::askfirst:-/bin/sh\n" \ | 1276 | " tty2::askfirst:-/bin/sh\n" \ |
1277 | " tty3::askfirst:-/bin/sh\n" \ | 1277 | " tty3::askfirst:-/bin/sh\n" \ |
1278 | " tty4::askfirst:-/bin/sh\n" \ | 1278 | " tty4::askfirst:-/bin/sh\n" \ |
@@ -1309,8 +1309,8 @@ | |||
1309 | #define insmod_full_usage \ | 1309 | #define insmod_full_usage \ |
1310 | "Loads the specified kernel modules into the kernel.\n\n" \ | 1310 | "Loads the specified kernel modules into the kernel.\n\n" \ |
1311 | "Options:\n" \ | 1311 | "Options:\n" \ |
1312 | "\t-f\tForce module to load into the wrong kernel version.\n" \ | 1312 | "\t-f\tForce module to load into the wrong kernel version\n" \ |
1313 | "\t-k\tMake module autoclean-able.\n" \ | 1313 | "\t-k\tMake module autoclean-able\n" \ |
1314 | "\t-v\tverbose output\n" \ | 1314 | "\t-v\tverbose output\n" \ |
1315 | "\t-q\tquiet output\n" \ | 1315 | "\t-q\tquiet output\n" \ |
1316 | "\t-L\tLock to prevent simultaneous loads of a module\n" \ | 1316 | "\t-L\tLock to prevent simultaneous loads of a module\n" \ |
@@ -1360,12 +1360,12 @@ | |||
1360 | #define ipcalc_full_usage \ | 1360 | #define ipcalc_full_usage \ |
1361 | "Calculate IP network settings from a IP address\n\n" \ | 1361 | "Calculate IP network settings from a IP address\n\n" \ |
1362 | "Options:\n" \ | 1362 | "Options:\n" \ |
1363 | "\t-b\t--broadcast\tDisplay calculated broadcast address.\n" \ | 1363 | "\t-b\t--broadcast\tDisplay calculated broadcast address\n" \ |
1364 | "\t-n\t--network\tDisplay calculated network address.\n" \ | 1364 | "\t-n\t--network\tDisplay calculated network address\n" \ |
1365 | "\t-m\t--netmask\tDisplay default netmask for IP." \ | 1365 | "\t-m\t--netmask\tDisplay default netmask for IP." \ |
1366 | XUSAGE_IPCALC_FANCY(\ | 1366 | XUSAGE_IPCALC_FANCY( \ |
1367 | "\n\t-p\t--prefix\tDisplay the prefix for IP/NETMASK." \ | 1367 | "\n\t-p\t--prefix\tDisplay the prefix for IP/NETMASK." \ |
1368 | "\t-h\t--hostname\tDisplay first resolved host name.\n" \ | 1368 | "\t-h\t--hostname\tDisplay first resolved host name\n" \ |
1369 | "\t-s\t--silent\tDon't ever display error messages.") | 1369 | "\t-s\t--silent\tDon't ever display error messages.") |
1370 | 1370 | ||
1371 | #define iplink_trivial_usage \ | 1371 | #define iplink_trivial_usage \ |
@@ -1400,9 +1400,9 @@ | |||
1400 | #define kill_trivial_usage \ | 1400 | #define kill_trivial_usage \ |
1401 | "[-signal] process-id [process-id ...]" | 1401 | "[-signal] process-id [process-id ...]" |
1402 | #define kill_full_usage \ | 1402 | #define kill_full_usage \ |
1403 | "Send a signal (default is SIGTERM) to the specified process(es).\n\n"\ | 1403 | "Send a signal (default is SIGTERM) to the specified process(es).\n\n" \ |
1404 | "Options:\n" \ | 1404 | "Options:\n" \ |
1405 | "\t-l\tList all signal names and numbers." | 1405 | "\t-l\tList all signal names and numbers" |
1406 | #define kill_example_usage \ | 1406 | #define kill_example_usage \ |
1407 | "$ ps | grep apache\n" \ | 1407 | "$ ps | grep apache\n" \ |
1408 | "252 root root S [apache]\n" \ | 1408 | "252 root root S [apache]\n" \ |
@@ -1416,20 +1416,20 @@ | |||
1416 | #define killall_trivial_usage \ | 1416 | #define killall_trivial_usage \ |
1417 | "[-q] [-signal] process-name [process-name ...]" | 1417 | "[-q] [-signal] process-name [process-name ...]" |
1418 | #define killall_full_usage \ | 1418 | #define killall_full_usage \ |
1419 | "Send a signal (default is SIGTERM) to the specified process(es).\n\n"\ | 1419 | "Send a signal (default is SIGTERM) to the specified process(es).\n\n" \ |
1420 | "Options:\n" \ | 1420 | "Options:\n" \ |
1421 | "\t-l\tList all signal names and numbers.\n"\ | 1421 | "\t-l\tList all signal names and numbers\n" \ |
1422 | "\t-q\tDo not complain if no processes were killed." | 1422 | "\t-q\tDo not complain if no processes were killed" |
1423 | #define killall_example_usage \ | 1423 | #define killall_example_usage \ |
1424 | "$ killall apache\n" | 1424 | "$ killall apache\n" |
1425 | 1425 | ||
1426 | #define klogd_trivial_usage \ | 1426 | #define klogd_trivial_usage \ |
1427 | "[-c n] [-n]" | 1427 | "[-c n] [-n]" |
1428 | #define klogd_full_usage \ | 1428 | #define klogd_full_usage \ |
1429 | "Kernel logger.\n"\ | 1429 | "Kernel logger.\n" \ |
1430 | "Options:\n"\ | 1430 | "Options:\n" \ |
1431 | "\t-c n\tSets the default log level of console messages to n.\n"\ | 1431 | "\t-c n\tSets the default log level of console messages to n\n" \ |
1432 | "\t-n\tRun as a foreground process." | 1432 | "\t-n\tRun as a foreground process" |
1433 | 1433 | ||
1434 | #define length_trivial_usage \ | 1434 | #define length_trivial_usage \ |
1435 | "STRING" | 1435 | "STRING" |
@@ -1442,7 +1442,7 @@ | |||
1442 | #define ln_trivial_usage \ | 1442 | #define ln_trivial_usage \ |
1443 | "[OPTION] TARGET... LINK_NAME|DIRECTORY" | 1443 | "[OPTION] TARGET... LINK_NAME|DIRECTORY" |
1444 | #define ln_full_usage \ | 1444 | #define ln_full_usage \ |
1445 | "Create a link named LINK_NAME or DIRECTORY to the specified TARGET\n"\ | 1445 | "Create a link named LINK_NAME or DIRECTORY to the specified TARGET\n" \ |
1446 | "\nYou may use '--' to indicate that all following arguments are non-options.\n\n" \ | 1446 | "\nYou may use '--' to indicate that all following arguments are non-options.\n\n" \ |
1447 | "Options:\n" \ | 1447 | "Options:\n" \ |
1448 | "\t-s\tmake symbolic links instead of hard links\n" \ | 1448 | "\t-s\tmake symbolic links instead of hard links\n" \ |
@@ -1472,12 +1472,12 @@ | |||
1472 | #define logger_full_usage \ | 1472 | #define logger_full_usage \ |
1473 | "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.\n\n" \ | 1473 | "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.\n\n" \ |
1474 | "Options:\n" \ | 1474 | "Options:\n" \ |
1475 | "\t-s\tLog to stderr as well as the system log.\n" \ | 1475 | "\t-s\tLog to stderr as well as the system log\n" \ |
1476 | "\t-t TAG\tLog using the specified tag (defaults to user name).\n" \ | 1476 | "\t-t TAG\tLog using the specified tag (defaults to user name)\n" \ |
1477 | "\t-p PRIORITY\tEnter the message with the specified priority.\n" \ | 1477 | "\t-p PRIORITY\tEnter the message with the specified priority\n" \ |
1478 | "\t\tThis may be numerical or a ``facility.level'' pair." | 1478 | "\t\tThis may be numerical or a ``facility.level'' pair" |
1479 | #define logger_example_usage \ | 1479 | #define logger_example_usage \ |
1480 | "$ logger "hello"\n" | 1480 | "$ logger \"hello\"\n" |
1481 | 1481 | ||
1482 | #define login_trivial_usage \ | 1482 | #define login_trivial_usage \ |
1483 | "[OPTION]... [username] [ENV=VAR ...]" | 1483 | "[OPTION]... [username] [ENV=VAR ...]" |
@@ -1485,8 +1485,8 @@ | |||
1485 | "Begin a new session on the system\n\n" \ | 1485 | "Begin a new session on the system\n\n" \ |
1486 | "Options:\n" \ | 1486 | "Options:\n" \ |
1487 | "\t-f\tDo not authenticate (user already authenticated)\n" \ | 1487 | "\t-f\tDo not authenticate (user already authenticated)\n" \ |
1488 | "\t-h\tName of the remote host for this login.\n" \ | 1488 | "\t-h\tName of the remote host for this login\n" \ |
1489 | "\t-p\tPreserve environment." | 1489 | "\t-p\tPreserve environment" |
1490 | 1490 | ||
1491 | #define logname_trivial_usage \ | 1491 | #define logname_trivial_usage \ |
1492 | "" | 1492 | "" |
@@ -1509,8 +1509,8 @@ | |||
1509 | #define losetup_full_usage \ | 1509 | #define losetup_full_usage \ |
1510 | "Associate LOOPDEVICE with FILE.\n\n" \ | 1510 | "Associate LOOPDEVICE with FILE.\n\n" \ |
1511 | "Options:\n" \ | 1511 | "Options:\n" \ |
1512 | "\t-d\t\tDisassociate LOOPDEVICE.\n" \ | 1512 | "\t-d\t\tDisassociate LOOPDEVICE\n" \ |
1513 | "\t-o OFFSET\tStart OFFSET bytes into FILE." | 1513 | "\t-o OFFSET\tStart OFFSET bytes into FILE" |
1514 | 1514 | ||
1515 | #ifdef CONFIG_FEATURE_LS_TIMESTAMPS | 1515 | #ifdef CONFIG_FEATURE_LS_TIMESTAMPS |
1516 | # define USAGE_LS_TIMESTAMPS(a) a | 1516 | # define USAGE_LS_TIMESTAMPS(a) a |
@@ -1586,7 +1586,7 @@ | |||
1586 | "\t-a\tdo not hide entries starting with .\n" \ | 1586 | "\t-a\tdo not hide entries starting with .\n" \ |
1587 | "\t-d\tlist directory entries instead of contents\n" \ | 1587 | "\t-d\tlist directory entries instead of contents\n" \ |
1588 | "\t-l\tprint long flag names\n" \ | 1588 | "\t-l\tprint long flag names\n" \ |
1589 | "\t-v\tlist the file's version/generation number\n" | 1589 | "\t-v\tlist the file's version/generation number" |
1590 | 1590 | ||
1591 | #define lsmod_trivial_usage \ | 1591 | #define lsmod_trivial_usage \ |
1592 | "" | 1592 | "" |
@@ -1602,7 +1602,7 @@ | |||
1602 | "\tc or u:\tMake a character (un-buffered) device.\n" \ | 1602 | "\tc or u:\tMake a character (un-buffered) device.\n" \ |
1603 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes.\n\n" \ | 1603 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes.\n\n" \ |
1604 | "FIRST specifies the number appended to NAME to create the first device.\n" \ | 1604 | "FIRST specifies the number appended to NAME to create the first device.\n" \ |
1605 | "LAST specifies the number of the last item that should be created.\n" \ | 1605 | "LAST specifies the number of the last item that should be created\n" \ |
1606 | "If 's' is the last argument, the base device is created as well.\n\n" \ | 1606 | "If 's' is the last argument, the base device is created as well.\n\n" \ |
1607 | "For example:\n" \ | 1607 | "For example:\n" \ |
1608 | "\tmakedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n" \ | 1608 | "\tmakedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n" \ |
@@ -1645,8 +1645,8 @@ | |||
1645 | "[y|n]" | 1645 | "[y|n]" |
1646 | #define mesg_full_usage \ | 1646 | #define mesg_full_usage \ |
1647 | "mesg controls write access to your terminal\n" \ | 1647 | "mesg controls write access to your terminal\n" \ |
1648 | "\ty\tAllow write access to your terminal.\n" \ | 1648 | "\ty\tAllow write access to your terminal\n" \ |
1649 | "\tn\tDisallow write access to your terminal.\n" | 1649 | "\tn\tDisallow write access to your terminal" |
1650 | 1650 | ||
1651 | #define mkdir_trivial_usage \ | 1651 | #define mkdir_trivial_usage \ |
1652 | "[OPTION] DIRECTORY..." | 1652 | "[OPTION] DIRECTORY..." |
@@ -1688,9 +1688,9 @@ | |||
1688 | "Options:\n" \ | 1688 | "Options:\n" \ |
1689 | "\t-m\tcreate the special file using the specified mode (default a=rw)\n\n" \ | 1689 | "\t-m\tcreate the special file using the specified mode (default a=rw)\n\n" \ |
1690 | "TYPEs include:\n" \ | 1690 | "TYPEs include:\n" \ |
1691 | "\tb:\tMake a block (buffered) device.\n" \ | 1691 | "\tb:\tMake a block (buffered) device\n" \ |
1692 | "\tc or u:\tMake a character (un-buffered) device.\n" \ | 1692 | "\tc or u:\tMake a character (un-buffered) device\n" \ |
1693 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes." | 1693 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes" |
1694 | #define mknod_example_usage \ | 1694 | #define mknod_example_usage \ |
1695 | "$ mknod /dev/fd0 b 2 0\n" \ | 1695 | "$ mknod /dev/fd0 b 2 0\n" \ |
1696 | "$ mknod -m 644 /tmp/pipe p\n" | 1696 | "$ mknod -m 644 /tmp/pipe p\n" |
@@ -1700,10 +1700,10 @@ | |||
1700 | #define mkswap_full_usage \ | 1700 | #define mkswap_full_usage \ |
1701 | "Prepare a disk partition to be used as a swap partition.\n\n" \ | 1701 | "Prepare a disk partition to be used as a swap partition.\n\n" \ |
1702 | "Options:\n" \ | 1702 | "Options:\n" \ |
1703 | "\t-c\t\tCheck for read-ability.\n" \ | 1703 | "\t-c\t\tCheck for read-ability\n" \ |
1704 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" \ | 1704 | "\t-v0\t\tMake version 0 swap [max 128 Megs]\n" \ |
1705 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels >\n\t\t\t2.1.117).\n" \ | 1705 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels >\n\t\t\t2.1.117)\n" \ |
1706 | "\tblock-count\tNumber of block to use (default is entire partition)." | 1706 | "\tblock-count\tNumber of block to use (default is entire partition)" |
1707 | 1707 | ||
1708 | #define mktemp_trivial_usage \ | 1708 | #define mktemp_trivial_usage \ |
1709 | "[-dq] TEMPLATE" | 1709 | "[-dq] TEMPLATE" |
@@ -1724,12 +1724,12 @@ | |||
1724 | #define modprobe_full_usage \ | 1724 | #define modprobe_full_usage \ |
1725 | "Used for high level module loading and unloading.\n\n" \ | 1725 | "Used for high level module loading and unloading.\n\n" \ |
1726 | "Options:\n" \ | 1726 | "Options:\n" \ |
1727 | "\t-k\tMake module autoclean-able.\n" \ | 1727 | "\t-k\tMake module autoclean-able\n" \ |
1728 | "\t-n\tJust show what would be done.\n" \ | 1728 | "\t-n\tJust show what would be done\n" \ |
1729 | "\t-q\tQuiet output.\n" \ | 1729 | "\t-q\tQuiet output\n" \ |
1730 | "\t-r\tRemove module (stacks) or do autoclean.\n" \ | 1730 | "\t-r\tRemove module (stacks) or do autoclean\n" \ |
1731 | "\t-s\tReport via syslog instead of stderr.\n" \ | 1731 | "\t-s\tReport via syslog instead of stderr\n" \ |
1732 | "\t-v\tVerbose output." | 1732 | "\t-v\tVerbose output" |
1733 | #define modprobe_example_usage \ | 1733 | #define modprobe_example_usage \ |
1734 | "$ modprobe cdrom\n" | 1734 | "$ modprobe cdrom\n" |
1735 | 1735 | ||
@@ -1756,30 +1756,30 @@ | |||
1756 | "Mount a filesystem. Autodetection of filesystem type requires the\n" \ | 1756 | "Mount a filesystem. Autodetection of filesystem type requires the\n" \ |
1757 | "/proc filesystem be already mounted.\n\n" \ | 1757 | "/proc filesystem be already mounted.\n\n" \ |
1758 | "Flags:\n" \ | 1758 | "Flags:\n" \ |
1759 | "\t-a:\t\tMount all filesystems in fstab.\n" \ | 1759 | "\t-a:\t\tMount all filesystems in fstab\n" \ |
1760 | USAGE_MTAB( \ | 1760 | USAGE_MTAB( \ |
1761 | "\t-f:\t\t\"Fake\" Add entry to mount table but don't mount it.\n" \ | 1761 | "\t-f:\t\t\"Fake\" Add entry to mount table but don't mount it\n" \ |
1762 | "\t-n:\t\tDon't write a mount table entry.\n" \ | 1762 | "\t-n:\t\tDon't write a mount table entry\n" \ |
1763 | ) \ | 1763 | ) \ |
1764 | "\t-o option:\tOne of many filesystem options, listed below.\n" \ | 1764 | "\t-o option:\tOne of many filesystem options, listed below\n" \ |
1765 | "\t-r:\t\tMount the filesystem read-only.\n" \ | 1765 | "\t-r:\t\tMount the filesystem read-only\n" \ |
1766 | "\t-t fs-type:\tSpecify the filesystem type.\n" \ | 1766 | "\t-t fs-type:\tSpecify the filesystem type\n" \ |
1767 | "\t-w:\t\tMount for reading and writing (default).\n" \ | 1767 | "\t-w:\t\tMount for reading and writing (default)\n" \ |
1768 | "\n" \ | 1768 | "\n" \ |
1769 | "Options for use with the \"-o\" flag:\n" \ | 1769 | "Options for use with the \"-o\" flag:\n" \ |
1770 | "\tasync/sync:\tWrites are asynchronous / synchronous.\n" \ | 1770 | "\tasync/sync:\tWrites are asynchronous / synchronous\n" \ |
1771 | "\tatime/noatime:\tEnable / disable updates to inode access times.\n" \ | 1771 | "\tatime/noatime:\tEnable / disable updates to inode access times\n" \ |
1772 | "\tdev/nodev:\tAllow use of special device files / disallow them.\n" \ | 1772 | "\tdev/nodev:\tAllow use of special device files / disallow them\n" \ |
1773 | "\texec/noexec:\tAllow use of executable files / disallow them.\n" \ | 1773 | "\texec/noexec:\tAllow use of executable files / disallow them\n" \ |
1774 | USAGE_MOUNT_LOOP( \ | 1774 | USAGE_MOUNT_LOOP( \ |
1775 | "\tloop:\t\tMounts a file via loop device.\n" \ | 1775 | "\tloop:\t\tMounts a file via loop device\n" \ |
1776 | ) \ | 1776 | ) \ |
1777 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" \ | 1777 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them\n" \ |
1778 | "\tremount:\tRe-mount a mounted filesystem, changing its flags.\n" \ | 1778 | "\tremount:\tRe-mount a mounted filesystem, changing its flags\n" \ |
1779 | "\tro/rw:\t\tMount for read-only / read-write.\n" \ | 1779 | "\tro/rw:\t\tMount for read-only / read-write\n" \ |
1780 | "\tbind:\t\tUse the linux 2.4.x \"bind\" feature.\n" \ | 1780 | "\tbind:\t\tUse the linux 2.4.x \"bind\" feature\n" \ |
1781 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" \ | 1781 | "\nThere are EVEN MORE flags that are specific to each filesystem\n" \ |
1782 | "You'll have to see the written documentation for those filesystems." | 1782 | "You'll have to see the written documentation for those filesystems" |
1783 | #define mount_example_usage \ | 1783 | #define mount_example_usage \ |
1784 | "$ mount\n" \ | 1784 | "$ mount\n" \ |
1785 | "/dev/hda3 on / type minix (rw)\n" \ | 1785 | "/dev/hda3 on / type minix (rw)\n" \ |
@@ -1815,7 +1815,7 @@ | |||
1815 | "Nameif renaming network interface while it in the down state.\n\n" \ | 1815 | "Nameif renaming network interface while it in the down state.\n\n" \ |
1816 | "Options:\n" \ | 1816 | "Options:\n" \ |
1817 | "\t-c FILE\t\tUse configuration file (default is /etc/mactab)\n" \ | 1817 | "\t-c FILE\t\tUse configuration file (default is /etc/mactab)\n" \ |
1818 | "\t-s\t\tUse syslog (LOCAL0 facility).\n" \ | 1818 | "\t-s\t\tUse syslog (LOCAL0 facility)\n" \ |
1819 | "\tIFNAME MACADDR\tnew_interface_name interface_mac_address" | 1819 | "\tIFNAME MACADDR\tnew_interface_name interface_mac_address" |
1820 | #define nameif_example_usage \ | 1820 | #define nameif_example_usage \ |
1821 | "$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \ | 1821 | "$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \ |
@@ -1861,7 +1861,7 @@ | |||
1861 | #define nice_full_usage \ | 1861 | #define nice_full_usage \ |
1862 | "Nice runs a program with modified scheduling priority.\n\n" \ | 1862 | "Nice runs a program with modified scheduling priority.\n\n" \ |
1863 | "Options:\n" \ | 1863 | "Options:\n" \ |
1864 | "\t-n ADJUST\tAdjust the scheduling priority by ADJUST.\n" \ | 1864 | "\t-n ADJUST\tAdjust the scheduling priority by ADJUST" |
1865 | 1865 | ||
1866 | #define nslookup_trivial_usage \ | 1866 | #define nslookup_trivial_usage \ |
1867 | "[HOST] [SERVER]" | 1867 | "[HOST] [SERVER]" |
@@ -1879,7 +1879,7 @@ | |||
1879 | #define od_trivial_usage \ | 1879 | #define od_trivial_usage \ |
1880 | "[-aBbcDdeFfHhIiLlOovXx] [FILE]" | 1880 | "[-aBbcDdeFfHhIiLlOovXx] [FILE]" |
1881 | #define od_full_usage \ | 1881 | #define od_full_usage \ |
1882 | "Write an unambiguous representation, octal bytes by default, of FILE\n"\ | 1882 | "Write an unambiguous representation, octal bytes by default, of FILE\n" \ |
1883 | "to standard output. With no FILE, or when FILE is -, read standard input." | 1883 | "to standard output. With no FILE, or when FILE is -, read standard input." |
1884 | 1884 | ||
1885 | #define openvt_trivial_usage \ | 1885 | #define openvt_trivial_usage \ |
@@ -1900,12 +1900,12 @@ | |||
1900 | "Change a user password. If no name is specified,\n" \ | 1900 | "Change a user password. If no name is specified,\n" \ |
1901 | "changes the password for the current user.\n" \ | 1901 | "changes the password for the current user.\n" \ |
1902 | "Options:\n" \ | 1902 | "Options:\n" \ |
1903 | "\t-a\tDefine which algorithm shall be used for the password.\n" \ | 1903 | "\t-a\tDefine which algorithm shall be used for the password\n" \ |
1904 | "\t\t\t(Choices: des, md5" \ | 1904 | "\t\t\t(Choices: des, md5" \ |
1905 | PASSWORD_ALG_TYPES(", sha1") \ | 1905 | PASSWORD_ALG_TYPES(", sha1") \ |
1906 | ")\n\t-d\tDelete the password for the specified user account.\n" \ | 1906 | ")\n\t-d\tDelete the password for the specified user account\n" \ |
1907 | "\t-l\tLocks (disables) the specified user account.\n" \ | 1907 | "\t-l\tLocks (disables) the specified user account\n" \ |
1908 | "\t-u\tUnlocks (re-enables) the specified user account." | 1908 | "\t-u\tUnlocks (re-enables) the specified user account" |
1909 | 1909 | ||
1910 | #define patch_trivial_usage \ | 1910 | #define patch_trivial_usage \ |
1911 | "[-p<num>]" | 1911 | "[-p<num>]" |
@@ -1920,7 +1920,7 @@ | |||
1920 | "Lists the PIDs of all processes with names that match the\n" \ | 1920 | "Lists the PIDs of all processes with names that match the\n" \ |
1921 | "names on the command line.\n" \ | 1921 | "names on the command line.\n" \ |
1922 | "Options:\n" \ | 1922 | "Options:\n" \ |
1923 | "\t-s\t\tdisplay only a single PID." | 1923 | "\t-s\t\tdisplay only a single PID" |
1924 | #define pidof_example_usage \ | 1924 | #define pidof_example_usage \ |
1925 | "$ pidof init\n" \ | 1925 | "$ pidof init\n" \ |
1926 | "1\n" | 1926 | "1\n" |
@@ -1934,10 +1934,10 @@ | |||
1934 | #define ping_full_usage \ | 1934 | #define ping_full_usage \ |
1935 | "Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \ | 1935 | "Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \ |
1936 | "Options:\n" \ | 1936 | "Options:\n" \ |
1937 | "\t-c COUNT\tSend only COUNT pings.\n" \ | 1937 | "\t-c COUNT\tSend only COUNT pings\n" \ |
1938 | "\t-s SIZE\t\tSend SIZE data bytes in packets (default=56).\n" \ | 1938 | "\t-s SIZE\t\tSend SIZE data bytes in packets (default=56)\n" \ |
1939 | "\t-q\t\tQuiet mode, only displays output at start\n" \ | 1939 | "\t-q\t\tQuiet mode, only displays output at start\n" \ |
1940 | "\t\t\tand when finished." | 1940 | "\t\t\tand when finished" |
1941 | #endif | 1941 | #endif |
1942 | #define ping_example_usage \ | 1942 | #define ping_example_usage \ |
1943 | "$ ping localhost\n" \ | 1943 | "$ ping localhost\n" \ |
@@ -1957,10 +1957,10 @@ | |||
1957 | #define ping6_full_usage \ | 1957 | #define ping6_full_usage \ |
1958 | "Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \ | 1958 | "Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \ |
1959 | "Options:\n" \ | 1959 | "Options:\n" \ |
1960 | "\t-c COUNT\tSend only COUNT pings.\n" \ | 1960 | "\t-c COUNT\tSend only COUNT pings\n" \ |
1961 | "\t-s SIZE\t\tSend SIZE data bytes in packets (default=56).\n" \ | 1961 | "\t-s SIZE\t\tSend SIZE data bytes in packets (default=56)\n" \ |
1962 | "\t-q\t\tQuiet mode, only displays output at start\n" \ | 1962 | "\t-q\t\tQuiet mode, only displays output at start\n" \ |
1963 | "\t\t\tand when finished." | 1963 | "\t\t\tand when finished" |
1964 | #endif | 1964 | #endif |
1965 | #define ping6_example_usage \ | 1965 | #define ping6_example_usage \ |
1966 | "$ ping6 ip6-localhost\n" \ | 1966 | "$ ping6 ip6-localhost\n" \ |
@@ -1982,7 +1982,7 @@ | |||
1982 | #define poweroff_full_usage \ | 1982 | #define poweroff_full_usage \ |
1983 | "Halt the system and request that the kernel shut off the power.\n" \ | 1983 | "Halt the system and request that the kernel shut off the power.\n" \ |
1984 | "Options:\n" \ | 1984 | "Options:\n" \ |
1985 | "\t-d\t\tdelay interval for shutting off." | 1985 | "\t-d\t\tdelay interval for shutting off" |
1986 | 1986 | ||
1987 | #define printenv_trivial_usage \ | 1987 | #define printenv_trivial_usage \ |
1988 | "[VARIABLES...]" | 1988 | "[VARIABLES...]" |
@@ -2038,8 +2038,8 @@ | |||
2038 | #define rdate_full_usage \ | 2038 | #define rdate_full_usage \ |
2039 | "Get and possibly set the system date and time from a remote HOST.\n\n" \ | 2039 | "Get and possibly set the system date and time from a remote HOST.\n\n" \ |
2040 | "Options:\n" \ | 2040 | "Options:\n" \ |
2041 | "\t-s\tSet the system date and time (default).\n" \ | 2041 | "\t-s\tSet the system date and time (default)\n" \ |
2042 | "\t-p\tPrint the date and time." | 2042 | "\t-p\tPrint the date and time" |
2043 | 2043 | ||
2044 | #ifdef CONFIG_FEATURE_READLINK_FOLLOW | 2044 | #ifdef CONFIG_FEATURE_READLINK_FOLLOW |
2045 | #define USAGE_READLINK_FOLLOW(a) a | 2045 | #define USAGE_READLINK_FOLLOW(a) a |
@@ -2064,7 +2064,7 @@ | |||
2064 | #define reboot_full_usage \ | 2064 | #define reboot_full_usage \ |
2065 | "Reboot the system.\n" \ | 2065 | "Reboot the system.\n" \ |
2066 | "Options:\n" \ | 2066 | "Options:\n" \ |
2067 | "\t-d\t\tdelay interval for rebooting." | 2067 | "\t-d\t\tdelay interval for rebooting" |
2068 | 2068 | ||
2069 | #define renice_trivial_usage \ | 2069 | #define renice_trivial_usage \ |
2070 | "{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]" | 2070 | "{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]" |
@@ -2121,9 +2121,9 @@ | |||
2121 | #define route_full_usage \ | 2121 | #define route_full_usage \ |
2122 | "Edit the kernel's routing tables.\n\n" \ | 2122 | "Edit the kernel's routing tables.\n\n" \ |
2123 | "Options:\n" \ | 2123 | "Options:\n" \ |
2124 | "\t-n\t\tDont resolve names.\n" \ | 2124 | "\t-n\t\tDont resolve names\n" \ |
2125 | "\t-e\t\tDisplay other/more information.\n" \ | 2125 | "\t-e\t\tDisplay other/more information\n" \ |
2126 | "\t-A inet" USAGE_ROUTE_IPV6("{6}") "\tSelect address family." | 2126 | "\t-A inet" USAGE_ROUTE_IPV6("{6}") "\tSelect address family" |
2127 | 2127 | ||
2128 | #define rpm_trivial_usage \ | 2128 | #define rpm_trivial_usage \ |
2129 | "-i -q[ildc]p package.rpm" | 2129 | "-i -q[ildc]p package.rpm" |
@@ -2148,9 +2148,9 @@ | |||
2148 | #define run_parts_full_usage \ | 2148 | #define run_parts_full_usage \ |
2149 | "Run a bunch of scripts in a directory.\n\n" \ | 2149 | "Run a bunch of scripts in a directory.\n\n" \ |
2150 | "Options:\n" \ | 2150 | "Options:\n" \ |
2151 | "\t-t\tPrints what would be run, but does not actually run anything.\n" \ | 2151 | "\t-t\tPrints what would be run, but does not actually run anything\n" \ |
2152 | "\t-a ARG\tPass ARG as an argument for every program invoked.\n" \ | 2152 | "\t-a ARG\tPass ARG as an argument for every program invoked\n" \ |
2153 | "\t-u MASK\tSet the umask to MASK before executing every program." | 2153 | "\t-u MASK\tSet the umask to MASK before executing every program" |
2154 | 2154 | ||
2155 | #define rx_trivial_usage \ | 2155 | #define rx_trivial_usage \ |
2156 | "FILE" | 2156 | "FILE" |
@@ -2165,18 +2165,18 @@ | |||
2165 | "Options:\n" \ | 2165 | "Options:\n" \ |
2166 | "\t-e script\tadd the script to the commands to be executed\n" \ | 2166 | "\t-e script\tadd the script to the commands to be executed\n" \ |
2167 | "\t-f scriptfile\tadd script-file contents to the\n" \ | 2167 | "\t-f scriptfile\tadd script-file contents to the\n" \ |
2168 | "\t\t\tcommands to be executed\n" \ | 2168 | "\t\t\tcommands to be executed\n" \ |
2169 | "\t-i\t\tedit files in-place\n" \ | 2169 | "\t-i\t\tedit files in-place\n" \ |
2170 | "\t-n\t\tsuppress automatic printing of pattern space\n" \ | 2170 | "\t-n\t\tsuppress automatic printing of pattern space\n" \ |
2171 | "\t-r\t\tuse extended regular expression syntax\n" \ | 2171 | "\t-r\t\tuse extended regular expression syntax\n" \ |
2172 | "\n" \ | 2172 | "\n" \ |
2173 | "If no -e or -f is given, the first non-option argument is taken as the sed\n"\ | 2173 | "If no -e or -f is given, the first non-option argument is taken as the sed\n" \ |
2174 | "script to interpret. All remaining arguments are names of input files; if no\n"\ | 2174 | "script to interpret. All remaining arguments are names of input files; if no\n" \ |
2175 | "input files are specified, then the standard input is read. Source files\n" \ | 2175 | "input files are specified, then the standard input is read. Source files\n" \ |
2176 | "will not be modified unless -i option is given." | 2176 | "will not be modified unless -i option is given." |
2177 | 2177 | ||
2178 | #define sed_example_usage \ | 2178 | #define sed_example_usage \ |
2179 | "$ echo "foo" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \ | 2179 | "$ echo \"foo\" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \ |
2180 | "bar\n" | 2180 | "bar\n" |
2181 | 2181 | ||
2182 | #define seq_trivial_usage \ | 2182 | #define seq_trivial_usage \ |
@@ -2209,7 +2209,7 @@ | |||
2209 | "Use lash just as you would use any other shell. It properly handles pipes,\n" \ | 2209 | "Use lash just as you would use any other shell. It properly handles pipes,\n" \ |
2210 | "redirects, job control, can be used as the shell for scripts, and has a\n" \ | 2210 | "redirects, job control, can be used as the shell for scripts, and has a\n" \ |
2211 | "sufficient set of builtins to do what is needed. It does not (yet) support\n" \ | 2211 | "sufficient set of builtins to do what is needed. It does not (yet) support\n" \ |
2212 | "Bourne Shell syntax. If you need things like "if-then-else", "while", and such\n" \ | 2212 | "Bourne Shell syntax. If you need things like \"if-then-else\", \"while\", and such\n" \ |
2213 | "use ash or bash. If you just need a very simple and extremely small shell,\n" \ | 2213 | "use ash or bash. If you just need a very simple and extremely small shell,\n" \ |
2214 | "this will do the job." | 2214 | "this will do the job." |
2215 | 2215 | ||
@@ -2258,11 +2258,10 @@ | |||
2258 | # define USAGE_SORT_BIG(a) | 2258 | # define USAGE_SORT_BIG(a) |
2259 | #endif | 2259 | #endif |
2260 | 2260 | ||
2261 | |||
2262 | #define sort_trivial_usage \ | 2261 | #define sort_trivial_usage \ |
2263 | "[-nru" USAGE_SORT_BIG("gMcszbdfimSTokt] [-o outfile] [-k start[.offset][opts][,end[.offset][opts]] [-t char") "] [FILE]..." | 2262 | "[-nru" USAGE_SORT_BIG("gMcszbdfimSTokt] [-o outfile] [-k start[.offset][opts][,end[.offset][opts]] [-t char") "] [FILE]..." |
2264 | #define sort_full_usage \ | 2263 | #define sort_full_usage \ |
2265 | "Sorts lines of text in the specified files\n\n"\ | 2264 | "Sorts lines of text in the specified files\n\n" \ |
2266 | "Options:\n" \ | 2265 | "Options:\n" \ |
2267 | USAGE_SORT_BIG( \ | 2266 | USAGE_SORT_BIG( \ |
2268 | "\t-b\tignore leading blanks\n" \ | 2267 | "\t-b\tignore leading blanks\n" \ |
@@ -2301,22 +2300,21 @@ | |||
2301 | "c 3\n" \ | 2300 | "c 3\n" \ |
2302 | ) \ | 2301 | ) \ |
2303 | "" | 2302 | "" |
2304 | |||
2305 | 2303 | ||
2306 | #define start_stop_daemon_trivial_usage \ | 2304 | #define start_stop_daemon_trivial_usage \ |
2307 | "[OPTIONS] [--start|--stop] ... [-- arguments...]\n" | 2305 | "[OPTIONS] [--start|--stop] ... [-- arguments...]" |
2308 | #define start_stop_daemon_full_usage \ | 2306 | #define start_stop_daemon_full_usage \ |
2309 | "Program to start and stop services."\ | 2307 | "Program to start and stop services." \ |
2310 | "\n\nOptions:"\ | 2308 | "\n\nOptions:" \ |
2311 | "\n\t-S|--start\t\t\tstart"\ | 2309 | "\n\t-S|--start\t\t\tstart" \ |
2312 | "\n\t-K|--stop\t\t\tstop"\ | 2310 | "\n\t-K|--stop\t\t\tstop" \ |
2313 | "\n\t-a|--startas <pathname>\t\tstarts process specified by pathname"\ | 2311 | "\n\t-a|--startas <pathname>\t\tstarts process specified by pathname" \ |
2314 | "\n\t-b|--background\t\t\tforce process into background"\ | 2312 | "\n\t-b|--background\t\t\tforce process into background" \ |
2315 | "\n\t-u|--user <username>|<uid>\tstop this user's processes"\ | 2313 | "\n\t-u|--user <username>|<uid>\tstop this user's processes" \ |
2316 | "\n\t-x|--exec <executable>\t\tprogram to either start or check"\ | 2314 | "\n\t-x|--exec <executable>\t\tprogram to either start or check" \ |
2317 | "\n\t-m|--make-pidfile <filename>\tcreate the -p file and enter pid in it"\ | 2315 | "\n\t-m|--make-pidfile <filename>\tcreate the -p file and enter pid in it" \ |
2318 | "\n\t-n|--name <process-name>\tstop processes with this name"\ | 2316 | "\n\t-n|--name <process-name>\tstop processes with this name" \ |
2319 | "\n\t-p|--pidfile <pid-file>\t\tsave or load pid using a pid-file"\ | 2317 | "\n\t-p|--pidfile <pid-file>\t\tsave or load pid using a pid-file" \ |
2320 | "\n\t-q|--quiet\t\t\tbe quiet" \ | 2318 | "\n\t-q|--quiet\t\t\tbe quiet" \ |
2321 | "\n\t-s|--signal <signal>\t\tsignal to send (default TERM)" | 2319 | "\n\t-s|--signal <signal>\t\tsignal to send (default TERM)" |
2322 | 2320 | ||
@@ -2382,10 +2380,10 @@ | |||
2382 | #define strings_full_usage \ | 2380 | #define strings_full_usage \ |
2383 | "Display printable strings in a binary file." \ | 2381 | "Display printable strings in a binary file." \ |
2384 | "\n\nOptions:" \ | 2382 | "\n\nOptions:" \ |
2385 | "\n\t-a\tScan the whole files (this is the default)."\ | 2383 | "\n\t-a\tScan the whole files (this is the default)." \ |
2386 | "\n\t-f\tPrecede each string with the name of the file where it was found." \ | 2384 | "\n\t-f\tPrecede each string with the name of the file where it was found." \ |
2387 | "\n\t-n N\tSpecifies that at least N characters forms a sequence (default 4)" \ | 2385 | "\n\t-n N\tSpecifies that at least N characters forms a sequence (default 4)" \ |
2388 | "\n\t-o\tEach string is preceded by its decimal offset in the file." | 2386 | "\n\t-o\tEach string is preceded by its decimal offset in the file" |
2389 | 2387 | ||
2390 | #define stty_trivial_usage \ | 2388 | #define stty_trivial_usage \ |
2391 | "[-a|g] [-F DEVICE] [SETTING]..." | 2389 | "[-a|g] [-F DEVICE] [SETTING]..." |
@@ -2411,8 +2409,8 @@ | |||
2411 | "Single user login\n" \ | 2409 | "Single user login\n" \ |
2412 | "Options:\n" \ | 2410 | "Options:\n" \ |
2413 | "\t-f\tDo not authenticate (user already authenticated)\n" \ | 2411 | "\t-f\tDo not authenticate (user already authenticated)\n" \ |
2414 | "\t-h\tName of the remote host for this login.\n" \ | 2412 | "\t-h\tName of the remote host for this login\n" \ |
2415 | "\t-p\tPreserve environment." | 2413 | "\t-p\tPreserve environment" |
2416 | 2414 | ||
2417 | #define sum_trivial_usage \ | 2415 | #define sum_trivial_usage \ |
2418 | "[rs] [files...]" | 2416 | "[rs] [files...]" |
@@ -2420,7 +2418,7 @@ | |||
2420 | "checksum and count the blocks in a file\n\n" \ | 2418 | "checksum and count the blocks in a file\n\n" \ |
2421 | "Options:\n" \ | 2419 | "Options:\n" \ |
2422 | "\t-r\tuse BSD sum algorithm (1K blocks)\n" \ | 2420 | "\t-r\tuse BSD sum algorithm (1K blocks)\n" \ |
2423 | "\t-s\tuse System V sum algorithm (512byte blocks)\n" | 2421 | "\t-s\tuse System V sum algorithm (512byte blocks)" |
2424 | 2422 | ||
2425 | #define swapoff_trivial_usage \ | 2423 | #define swapoff_trivial_usage \ |
2426 | "[OPTION] [DEVICE]" | 2424 | "[OPTION] [DEVICE]" |
@@ -2460,15 +2458,15 @@ | |||
2460 | 2458 | ||
2461 | #ifdef CONFIG_SYSCTL | 2459 | #ifdef CONFIG_SYSCTL |
2462 | #define sysctl_trivial_usage \ | 2460 | #define sysctl_trivial_usage \ |
2463 | "[OPTIONS]... [VALUE]...\n" | 2461 | "[OPTIONS]... [VALUE]..." |
2464 | #define sysctl_full_usage | 2462 | #define sysctl_full_usage |
2465 | "sysctl - configure kernel parameters at runtime\n\n" \ | 2463 | "sysctl - configure kernel parameters at runtime\n\n" \ |
2466 | "Options:\n" \ | 2464 | "Options:\n" \ |
2467 | "\t-n\tUse this option to disable printing of the key name when printing values.\n" \ | 2465 | "\t-n\tUse this option to disable printing of the key name when printing values\n" \ |
2468 | "\t-w\tUse this option when you want to change a sysctl setting.\n" \ | 2466 | "\t-w\tUse this option when you want to change a sysctl setting\n" \ |
2469 | "\t-p\tLoad in sysctl settings from the file specified or /etc/sysctl.conf if none given.\n" \ | 2467 | "\t-p\tLoad in sysctl settings from the file specified or /etc/sysctl.conf if none given\n" \ |
2470 | "\t-a\tDisplay all values currently available.\n" \ | 2468 | "\t-a\tDisplay all values currently available\n" \ |
2471 | "\t-A\tDisplay all values currently available in table form." | 2469 | "\t-A\tDisplay all values currently available in table form" |
2472 | #define sysctl_example_usage | 2470 | #define sysctl_example_usage |
2473 | "sysctl [-n] variable ...\n" \ | 2471 | "sysctl [-n] variable ...\n" \ |
2474 | "sysctl [-n] -w variable=value ...\n" \ | 2472 | "sysctl [-n] -w variable=value ...\n" \ |
@@ -2586,7 +2584,7 @@ | |||
2586 | "\t-a\tappend to the given FILEs, do not overwrite\n" \ | 2584 | "\t-a\tappend to the given FILEs, do not overwrite\n" \ |
2587 | "\t-i\tignore interrupt signals (SIGINT)" | 2585 | "\t-i\tignore interrupt signals (SIGINT)" |
2588 | #define tee_example_usage \ | 2586 | #define tee_example_usage \ |
2589 | "$ echo "Hello" | tee /tmp/foo\n" \ | 2587 | "$ echo \"Hello\" | tee /tmp/foo\n" \ |
2590 | "$ cat /tmp/foo\n" \ | 2588 | "$ cat /tmp/foo\n" \ |
2591 | "Hello\n" | 2589 | "Hello\n" |
2592 | 2590 | ||
@@ -2597,17 +2595,17 @@ | |||
2597 | "Telnet is used to establish interactive communication with another\n" \ | 2595 | "Telnet is used to establish interactive communication with another\n" \ |
2598 | "computer over a network using the TELNET protocol.\n\n" \ | 2596 | "computer over a network using the TELNET protocol.\n\n" \ |
2599 | "Options:\n" \ | 2597 | "Options:\n" \ |
2600 | "\t-a\t\tAttempt an automatic login with the USER variable.\n" \ | 2598 | "\t-a\t\tAttempt an automatic login with the USER variable\n" \ |
2601 | "\t-l USER\t\tAttempt an automatic login with the USER argument.\n" \ | 2599 | "\t-l USER\t\tAttempt an automatic login with the USER argument\n" \ |
2602 | "\tHOST\t\tThe official name, alias or the IP address of the\n" \ | 2600 | "\tHOST\t\tThe official name, alias or the IP address of the\n" \ |
2603 | "\t\t\tremote host.\n" \ | 2601 | "\t\t\tremote host.\n" \ |
2604 | "\tPORT\t\tThe remote port number to connect to. If it is not\n" \ | 2602 | "\tPORT\t\tThe remote port number to connect to. If it is not\n" \ |
2605 | "\t\t\tspecified, the default telnet (23) port is used." | 2603 | "\t\t\tspecified, the default telnet (23) port is used." |
2606 | #else | 2604 | #else |
2607 | #define telnet_trivial_usage \ | 2605 | #define telnet_trivial_usage \ |
2608 | "HOST [PORT]" | 2606 | "HOST [PORT]" |
2609 | #define telnet_full_usage \ | 2607 | #define telnet_full_usage \ |
2610 | "Telnet is used to establish interactive communication with another\n"\ | 2608 | "Telnet is used to establish interactive communication with another\n" \ |
2611 | "computer over a network using the TELNET protocol." | 2609 | "computer over a network using the TELNET protocol." |
2612 | #endif | 2610 | #endif |
2613 | 2611 | ||
@@ -2615,19 +2613,19 @@ | |||
2615 | #define telnetd_trivial_usage \ | 2613 | #define telnetd_trivial_usage \ |
2616 | "(inetd mode) [OPTION]" | 2614 | "(inetd mode) [OPTION]" |
2617 | #define telnetd_full_usage \ | 2615 | #define telnetd_full_usage \ |
2618 | "Telnetd uses incoming TELNET connections via inetd.\n"\ | 2616 | "Telnetd uses incoming TELNET connections via inetd.\n" \ |
2619 | "Options:\n" \ | 2617 | "Options:\n" \ |
2620 | "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)\n" \ | 2618 | "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)\n" \ |
2621 | "\t-f issue_file\tDisplay issue_file instead of /etc/issue." | 2619 | "\t-f issue_file\tDisplay issue_file instead of /etc/issue" |
2622 | #else | 2620 | #else |
2623 | #define telnetd_trivial_usage \ | 2621 | #define telnetd_trivial_usage \ |
2624 | "[OPTION]" | 2622 | "[OPTION]" |
2625 | #define telnetd_full_usage \ | 2623 | #define telnetd_full_usage \ |
2626 | "Telnetd listens for incoming TELNET connections on PORT.\n"\ | 2624 | "Telnetd listens for incoming TELNET connections on PORT.\n" \ |
2627 | "Options:\n" \ | 2625 | "Options:\n" \ |
2628 | "\t-p PORT\tlisten for connections on PORT (default 23)\n"\ | 2626 | "\t-p PORT\tlisten for connections on PORT (default 23)\n" \ |
2629 | "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)\n"\ | 2627 | "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)\n" \ |
2630 | "\t-f issue_file\tDisplay issue_file instead of /etc/issue." | 2628 | "\t-f issue_file\tDisplay issue_file instead of /etc/issue" |
2631 | #endif | 2629 | #endif |
2632 | 2630 | ||
2633 | #define test_trivial_usage \ | 2631 | #define test_trivial_usage \ |
@@ -2670,16 +2668,16 @@ | |||
2670 | #define tftp_full_usage \ | 2668 | #define tftp_full_usage \ |
2671 | "Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \ | 2669 | "Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \ |
2672 | "Options:\n" \ | 2670 | "Options:\n" \ |
2673 | "\t-l FILE\tLocal FILE.\n" \ | 2671 | "\t-l FILE\tLocal FILE\n" \ |
2674 | "\t-r FILE\tRemote FILE." \ | 2672 | "\t-r FILE\tRemote FILE" \ |
2675 | USAGE_TFTP_GET( \ | 2673 | USAGE_TFTP_GET( \ |
2676 | "\n\t-g\tGet file." \ | 2674 | "\n\t-g\tGet file" \ |
2677 | ) \ | 2675 | ) \ |
2678 | USAGE_TFTP_PUT( \ | 2676 | USAGE_TFTP_PUT( \ |
2679 | "\n\t-p\tPut file." \ | 2677 | "\n\t-p\tPut file" \ |
2680 | ) \ | 2678 | ) \ |
2681 | USAGE_TFTP_BS( \ | 2679 | USAGE_TFTP_BS( \ |
2682 | "\n\t-b SIZE\tTransfer blocks of SIZE octets." \ | 2680 | "\n\t-b SIZE\tTransfer blocks of SIZE octets" \ |
2683 | ) | 2681 | ) |
2684 | #define time_trivial_usage \ | 2682 | #define time_trivial_usage \ |
2685 | "[OPTION]... COMMAND [ARGS...]" | 2683 | "[OPTION]... COMMAND [ARGS...]" |
@@ -2687,7 +2685,7 @@ | |||
2687 | "Runs the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ | 2685 | "Runs the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ |
2688 | "COMMAND's resource usage information is displayed\n\n" \ | 2686 | "COMMAND's resource usage information is displayed\n\n" \ |
2689 | "Options:\n" \ | 2687 | "Options:\n" \ |
2690 | "\t-v\tDisplays verbose resource usage information." | 2688 | "\t-v\tDisplays verbose resource usage information" |
2691 | 2689 | ||
2692 | #define top_trivial_usage \ | 2690 | #define top_trivial_usage \ |
2693 | "[-d <seconds>]" | 2691 | "[-d <seconds>]" |
@@ -2721,11 +2719,11 @@ | |||
2721 | "\t-d\tdelete input characters coded STRING1\n" \ | 2719 | "\t-d\tdelete input characters coded STRING1\n" \ |
2722 | "\t-s\tsqueeze multiple output characters of STRING2 into one character" | 2720 | "\t-s\tsqueeze multiple output characters of STRING2 into one character" |
2723 | #define tr_example_usage \ | 2721 | #define tr_example_usage \ |
2724 | "$ echo "gdkkn vnqkc" | tr [a-y] [b-z]\n" \ | 2722 | "$ echo \"gdkkn vnqkc\" | tr [a-y] [b-z]\n" \ |
2725 | "hello world\n" | 2723 | "hello world\n" |
2726 | 2724 | ||
2727 | #define traceroute_trivial_usage \ | 2725 | #define traceroute_trivial_usage \ |
2728 | "[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n"\ | 2726 | "[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n" \ |
2729 | "\t[-s src_addr] [-t tos] [-w wait] host [data size]" | 2727 | "\t[-s src_addr] [-t tos] [-w wait] host [data size]" |
2730 | #define traceroute_full_usage \ | 2728 | #define traceroute_full_usage \ |
2731 | "trace the route ip packets follow going to \"host\"\n" \ | 2729 | "trace the route ip packets follow going to \"host\"\n" \ |
@@ -2743,7 +2741,7 @@ | |||
2743 | "\t-t tos\tSet the type-of-service in probe packets to the following value\n" \ | 2741 | "\t-t tos\tSet the type-of-service in probe packets to the following value\n" \ |
2744 | "\t\t(default 0)\n" \ | 2742 | "\t\t(default 0)\n" \ |
2745 | "\t-w wait\tSet the time (in seconds) to wait for a response to a probe\n" \ | 2743 | "\t-w wait\tSet the time (in seconds) to wait for a response to a probe\n" \ |
2746 | "\t\t(default 3 sec.)." | 2744 | "\t\t(default 3 sec.)" |
2747 | 2745 | ||
2748 | 2746 | ||
2749 | #define true_trivial_usage \ | 2747 | #define true_trivial_usage \ |
@@ -2758,7 +2756,7 @@ | |||
2758 | #define tty_trivial_usage \ | 2756 | #define tty_trivial_usage \ |
2759 | "" | 2757 | "" |
2760 | #define tty_full_usage \ | 2758 | #define tty_full_usage \ |
2761 | "Print the file name of the terminal connected to standard input.\n\n"\ | 2759 | "Print the file name of the terminal connected to standard input.\n\n" \ |
2762 | "Options:\n" \ | 2760 | "Options:\n" \ |
2763 | "\t-s\tprint nothing, only return an exit status" | 2761 | "\t-s\tprint nothing, only return an exit status" |
2764 | #define tty_example_usage \ | 2762 | #define tty_example_usage \ |
@@ -2772,9 +2770,9 @@ | |||
2772 | "\t-H,\t--hostname=HOSTNAME\tClient hostname\n" \ | 2770 | "\t-H,\t--hostname=HOSTNAME\tClient hostname\n" \ |
2773 | "\t-h,\t \tAlias for -H\n" \ | 2771 | "\t-h,\t \tAlias for -H\n" \ |
2774 | "\t-f,\t--foreground\tDo not fork after getting lease\n" \ | 2772 | "\t-f,\t--foreground\tDo not fork after getting lease\n" \ |
2775 | "\t-b,\t--background\tFork to background if lease cannot be immediately negotiated.\n" \ | 2773 | "\t-b,\t--background\tFork to background if lease cannot be immediately negotiated\n" \ |
2776 | "\t-i,\t--interface=INTERFACE\tInterface to use (default: eth0)\n" \ | 2774 | "\t-i,\t--interface=INTERFACE\tInterface to use (default: eth0)\n" \ |
2777 | "\t-n,\t--now\tExit with failure if lease cannot be immediately negotiated.\n" \ | 2775 | "\t-n,\t--now\tExit with failure if lease cannot be immediately negotiated\n" \ |
2778 | "\t-p,\t--pidfile=file\tStore process ID of daemon in file\n" \ | 2776 | "\t-p,\t--pidfile=file\tStore process ID of daemon in file\n" \ |
2779 | "\t-q,\t--quit\tQuit after obtaining lease\n" \ | 2777 | "\t-q,\t--quit\tQuit after obtaining lease\n" \ |
2780 | "\t-r,\t--request=IP\tIP address to request (default: none)\n" \ | 2778 | "\t-r,\t--request=IP\tIP address to request (default: none)\n" \ |
@@ -2925,7 +2923,7 @@ | |||
2925 | #define vi_full_usage \ | 2923 | #define vi_full_usage \ |
2926 | "edit FILE.\n\n" \ | 2924 | "edit FILE.\n\n" \ |
2927 | "Options:\n" \ | 2925 | "Options:\n" \ |
2928 | "\t-R\tRead-only- do not write to the file." | 2926 | "\t-R\tRead-only- do not write to the file" |
2929 | 2927 | ||
2930 | #define vlock_trivial_usage \ | 2928 | #define vlock_trivial_usage \ |
2931 | "[OPTIONS]" | 2929 | "[OPTIONS]" |
@@ -2939,7 +2937,7 @@ | |||
2939 | #define watch_full_usage \ | 2937 | #define watch_full_usage \ |
2940 | "Executes a program periodically.\n" \ | 2938 | "Executes a program periodically.\n" \ |
2941 | "Options:\n" \ | 2939 | "Options:\n" \ |
2942 | "\t-n\tLoop period in seconds - default is 2." | 2940 | "\t-n\tLoop period in seconds - default is 2" |
2943 | #define watch_example_usage \ | 2941 | #define watch_example_usage \ |
2944 | "$ watch date\n" \ | 2942 | "$ watch date\n" \ |
2945 | "Mon Dec 17 10:31:40 GMT 2000\n" \ | 2943 | "Mon Dec 17 10:31:40 GMT 2000\n" \ |
@@ -2951,7 +2949,7 @@ | |||
2951 | #define watchdog_full_usage \ | 2949 | #define watchdog_full_usage \ |
2952 | "Periodically write to watchdog device DEV.\n" \ | 2950 | "Periodically write to watchdog device DEV.\n" \ |
2953 | "Options:\n" \ | 2951 | "Options:\n" \ |
2954 | "\t-t\tTimer period in seconds - default is 30." | 2952 | "\t-t\tTimer period in seconds - default is 30" |
2955 | 2953 | ||
2956 | #define wc_trivial_usage \ | 2954 | #define wc_trivial_usage \ |
2957 | "[OPTION]... [FILE]..." | 2955 | "[OPTION]... [FILE]..." |
@@ -3023,7 +3021,7 @@ | |||
3023 | "\t-r\tDo not run command for empty readed lines\n" \ | 3021 | "\t-r\tDo not run command for empty readed lines\n" \ |
3024 | USAGE_XARGS_TERMOPT("\t-x\tExit if the size is exceeded\n") \ | 3022 | USAGE_XARGS_TERMOPT("\t-x\tExit if the size is exceeded\n") \ |
3025 | USAGE_XARGS_ZERO_TERM("\t-0\tInput filenames are terminated by a null character\n") \ | 3023 | USAGE_XARGS_ZERO_TERM("\t-0\tInput filenames are terminated by a null character\n") \ |
3026 | "\t-t\tPrint the command line on stderr before executing it." | 3024 | "\t-t\tPrint the command line on stderr before executing it" |
3027 | #define xargs_example_usage \ | 3025 | #define xargs_example_usage \ |
3028 | "$ ls | xargs gzip\n" \ | 3026 | "$ ls | xargs gzip\n" \ |
3029 | "$ find . -name '*.c' -print | xargs rm\n" | 3027 | "$ find . -name '*.c' -print | xargs rm\n" |