diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-18 21:57:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-18 21:57:24 +0000 |
commit | b69e872229958cb0682ff37eb44c0f575ffc671c (patch) | |
tree | 98471201c7a7848848255775a61903112da3bb47 /include/usage.h | |
parent | d4293c77f1b7f62f04ebb4fcd87063d73808bb12 (diff) | |
download | busybox-w32-b69e872229958cb0682ff37eb44c0f575ffc671c.tar.gz busybox-w32-b69e872229958cb0682ff37eb44c0f575ffc671c.tar.bz2 busybox-w32-b69e872229958cb0682ff37eb44c0f575ffc671c.zip |
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
Diffstat (limited to '')
-rw-r--r-- | include/usage.h | 227 |
1 files changed, 113 insertions, 114 deletions
diff --git a/include/usage.h b/include/usage.h index 81773bd95..29a4991fb 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -23,13 +23,13 @@ | |||
23 | #define adduser_full_usage \ | 23 | #define adduser_full_usage \ |
24 | "Add a user to the system" \ | 24 | "Add a user to the system" \ |
25 | "\n\nOptions:\n" \ | 25 | "\n\nOptions:\n" \ |
26 | " -h DIR Assign home directory DIR\n" \ | 26 | " -h DIR Home directory\n" \ |
27 | " -g GECOS Assign gecos field GECOS\n" \ | 27 | " -g GECOS GECOS field\n" \ |
28 | " -s SHELL Assign login shell SHELL\n" \ | 28 | " -s SHELL Login shell\n" \ |
29 | " -G Add the user to existing group GROUP\n" \ | 29 | " -G GROUP Add user to existing group\n" \ |
30 | " -S Create a system user (ignored)\n" \ | 30 | " -S Create a system user (ignored)\n" \ |
31 | " -D Do not assign a password (logins still possible via ssh)\n" \ | 31 | " -D Do not assign a password (logins still possible via ssh)\n" \ |
32 | " -H Do not create the home directory" | 32 | " -H Do not create home directory" |
33 | 33 | ||
34 | #define adjtimex_trivial_usage \ | 34 | #define adjtimex_trivial_usage \ |
35 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" | 35 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" |
@@ -40,7 +40,7 @@ | |||
40 | " -q Quiet\n" \ | 40 | " -q Quiet\n" \ |
41 | " -o offset Time offset, microseconds\n" \ | 41 | " -o offset Time offset, microseconds\n" \ |
42 | " -f frequency Frequency adjust, integer kernel units (65536 is 1ppm)\n" \ | 42 | " -f frequency Frequency adjust, integer kernel units (65536 is 1ppm)\n" \ |
43 | " (positive values make the system clock run fast)\n" \ | 43 | " (positive values make the system clock run faster)\n" \ |
44 | " -t tick Microseconds per tick, usually 10000\n" \ | 44 | " -t tick Microseconds per tick, usually 10000\n" \ |
45 | " -p timeconstant" | 45 | " -p timeconstant" |
46 | 46 | ||
@@ -102,9 +102,9 @@ | |||
102 | "[OPTION]... [program-text] [FILE ...]" | 102 | "[OPTION]... [program-text] [FILE ...]" |
103 | #define awk_full_usage \ | 103 | #define awk_full_usage \ |
104 | "Options:\n" \ | 104 | "Options:\n" \ |
105 | " -v var=val Assign value 'val' to variable 'var'\n" \ | 105 | " -v var=val Set variable\n" \ |
106 | " -F sep Use 'sep' as field separator\n" \ | 106 | " -F sep Use 'sep' as field separator\n" \ |
107 | " -f progname Read program source from file 'progname'" | 107 | " -f filename Read program from file" |
108 | 108 | ||
109 | #define basename_trivial_usage \ | 109 | #define basename_trivial_usage \ |
110 | "FILE [SUFFIX]" | 110 | "FILE [SUFFIX]" |
@@ -161,7 +161,7 @@ | |||
161 | #define cat_full_usage \ | 161 | #define cat_full_usage \ |
162 | "Concatenate FILE(s) and print them to stdout" \ | 162 | "Concatenate FILE(s) and print them to stdout" \ |
163 | "\n\nOptions:" \ | 163 | "\n\nOptions:" \ |
164 | "\n -u Ignored since unbuffered i/o is always used" | 164 | "\n -u Use unbuffered i/o (ignored)" |
165 | #define cat_example_usage \ | 165 | #define cat_example_usage \ |
166 | "$ cat /proc/uptime\n" \ | 166 | "$ cat /proc/uptime\n" \ |
167 | "110716.72 17.67" | 167 | "110716.72 17.67" |
@@ -221,7 +221,7 @@ | |||
221 | "Each MODE is one or more of the letters ugoa, one of the\n" \ | 221 | "Each MODE is one or more of the letters ugoa, one of the\n" \ |
222 | "symbols +-= and one or more of the letters rwxst" \ | 222 | "symbols +-= and one or more of the letters rwxst" \ |
223 | "\n\nOptions:" \ | 223 | "\n\nOptions:" \ |
224 | "\n -R Changes files and directories recursively" \ | 224 | "\n -R Recurse directories" \ |
225 | USE_DESKTOP( \ | 225 | USE_DESKTOP( \ |
226 | "\n -c List changed files" \ | 226 | "\n -c List changed files" \ |
227 | "\n -v List all files" \ | 227 | "\n -v List all files" \ |
@@ -260,7 +260,7 @@ | |||
260 | "-r--r--r-- 1 andersen root 0 Apr 12 18:25 /tmp/foo\n" | 260 | "-r--r--r-- 1 andersen root 0 Apr 12 18:25 /tmp/foo\n" |
261 | 261 | ||
262 | #define chown_trivial_usage \ | 262 | #define chown_trivial_usage \ |
263 | "[-RhLHP"USE_DESKTOP("cvf")"]... OWNER[<.|:>[GROUP]] FILE..." | 263 | "[-RhLHP"USE_DESKTOP("cvf")"]... OWNER[<.|:>[GROUP]] FILE..." |
264 | #define chown_full_usage \ | 264 | #define chown_full_usage \ |
265 | "Change the owner and/or group of each FILE to OWNER and/or GROUP" \ | 265 | "Change the owner and/or group of each FILE to OWNER and/or GROUP" \ |
266 | "\n\nOptions:" \ | 266 | "\n\nOptions:" \ |
@@ -335,7 +335,7 @@ | |||
335 | " -s n Limit the stack segment per process to n bytes\n" \ | 335 | " -s n Limit the stack segment per process to n bytes\n" \ |
336 | " -l n Limit the locked physical pages per process to n bytes\n" \ | 336 | " -l n Limit the locked physical pages per process to n bytes\n" \ |
337 | " -a n Limit the total of all segments per process to n bytes\n" \ | 337 | " -a n Limit the total of all segments per process to n bytes\n" \ |
338 | " -o n Limit the number of open file descriptors per process to n\n" \ | 338 | " -o n Limit the number of open file descriptors per process to n\n" \ |
339 | " -p n Limit the number of processes per uid to n\n" \ | 339 | " -p n Limit the number of processes per uid to n\n" \ |
340 | "Options controlling file sizes:\n" \ | 340 | "Options controlling file sizes:\n" \ |
341 | " -f n Limit output file sizes to n bytes\n" \ | 341 | " -f n Limit output file sizes to n bytes\n" \ |
@@ -466,13 +466,13 @@ | |||
466 | #define crontab_trivial_usage \ | 466 | #define crontab_trivial_usage \ |
467 | "[-c dir] {file|-}|[-u|-l|-e|-d user]" | 467 | "[-c dir] {file|-}|[-u|-l|-e|-d user]" |
468 | #define crontab_full_usage \ | 468 | #define crontab_full_usage \ |
469 | " File <opts> replace crontab from file\n" \ | 469 | " file <opts> Replace crontab from file\n" \ |
470 | " - <opts> replace crontab from stdin\n" \ | 470 | " - <opts> Replace crontab from stdin\n" \ |
471 | " -u user specify user\n" \ | 471 | " -u user Specify user\n" \ |
472 | " -l [user] list crontab for user\n" \ | 472 | " -l [user] List crontab for user\n" \ |
473 | " -e [user] edit crontab for user\n" \ | 473 | " -e [user] Edit crontab for user\n" \ |
474 | " -d [user] delete crontab for user\n" \ | 474 | " -d [user] Delete crontab for user\n" \ |
475 | " -c dir specify crontab directory" | 475 | " -c dir Specify crontab directory" |
476 | 476 | ||
477 | #define cryptpw_trivial_usage \ | 477 | #define cryptpw_trivial_usage \ |
478 | "[-a des|md5] [string]" | 478 | "[-a des|md5] [string]" |
@@ -546,7 +546,7 @@ | |||
546 | 546 | ||
547 | #define dd_trivial_usage \ | 547 | #define dd_trivial_usage \ |
548 | "[if=FILE] [of=FILE] " USE_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ | 548 | "[if=FILE] [of=FILE] " USE_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ |
549 | " [seek=N]" USE_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync]") | 549 | " [seek=N]" USE_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync]") |
550 | #define dd_full_usage \ | 550 | #define dd_full_usage \ |
551 | "Copy a file with converting and formatting" \ | 551 | "Copy a file with converting and formatting" \ |
552 | "\n\nOptions:\n" \ | 552 | "\n\nOptions:\n" \ |
@@ -687,7 +687,7 @@ | |||
687 | #define dos2unix_trivial_usage \ | 687 | #define dos2unix_trivial_usage \ |
688 | "[option] [FILE]" | 688 | "[option] [FILE]" |
689 | #define dos2unix_full_usage \ | 689 | #define dos2unix_full_usage \ |
690 | "Convert FILE from dos format to unix format. When no option\n" \ | 690 | "Convert FILE from dos format to unix format. When no option\n" \ |
691 | "is given, the input is converted to the opposite output format.\n" \ | 691 | "is given, the input is converted to the opposite output format.\n" \ |
692 | "When no file is given, use stdin for input and stdout for output." \ | 692 | "When no file is given, use stdin for input and stdout for output." \ |
693 | "\n\nOptions:\n" \ | 693 | "\n\nOptions:\n" \ |
@@ -805,7 +805,7 @@ | |||
805 | #define echo_example_usage \ | 805 | #define echo_example_usage \ |
806 | "$ echo \"Erik is cool\"\n" \ | 806 | "$ echo \"Erik is cool\"\n" \ |
807 | "Erik is cool\n" \ | 807 | "Erik is cool\n" \ |
808 | USE_FEATURE_FANCY_ECHO("$ echo -e \"Erik\\nis\\ncool\"\n" \ | 808 | USE_FEATURE_FANCY_ECHO("$ echo -e \"Erik\\nis\\ncool\"\n" \ |
809 | "Erik\n" \ | 809 | "Erik\n" \ |
810 | "is\n" \ | 810 | "is\n" \ |
811 | "cool\n" \ | 811 | "cool\n" \ |
@@ -872,7 +872,7 @@ | |||
872 | " (EXPRESSION) Value of EXPRESSION\n\n" \ | 872 | " (EXPRESSION) Value of EXPRESSION\n\n" \ |
873 | "Beware that many operators need to be escaped or quoted for shells.\n" \ | 873 | "Beware that many operators need to be escaped or quoted for shells.\n" \ |
874 | "Comparisons are arithmetic if both ARGs are numbers, else\n" \ | 874 | "Comparisons are arithmetic if both ARGs are numbers, else\n" \ |
875 | "lexicographical. Pattern matches return the string matched between\n" \ | 875 | "lexicographical. Pattern matches return the string matched between\n" \ |
876 | "\\( and \\) or null; if \\( and \\) are not used, they return the number\n" \ | 876 | "\\( and \\) or null; if \\( and \\) are not used, they return the number\n" \ |
877 | "of characters matched or 0." | 877 | "of characters matched or 0." |
878 | 878 | ||
@@ -939,7 +939,7 @@ | |||
939 | #define find_trivial_usage \ | 939 | #define find_trivial_usage \ |
940 | "[PATH...] [EXPRESSION]" | 940 | "[PATH...] [EXPRESSION]" |
941 | #define find_full_usage \ | 941 | #define find_full_usage \ |
942 | "Search for files in a directory hierarchy. The default PATH is\n" \ | 942 | "Search for files in a directory hierarchy. The default PATH is\n" \ |
943 | "the current directory, default EXPRESSION is '-print'\n" \ | 943 | "the current directory, default EXPRESSION is '-print'\n" \ |
944 | "\nEXPRESSION may consist of:" \ | 944 | "\nEXPRESSION may consist of:" \ |
945 | "\n -follow Dereference symlinks" \ | 945 | "\n -follow Dereference symlinks" \ |
@@ -1026,7 +1026,7 @@ | |||
1026 | "$ freeramdisk /dev/ram2\n" | 1026 | "$ freeramdisk /dev/ram2\n" |
1027 | 1027 | ||
1028 | #define fsck_trivial_usage \ | 1028 | #define fsck_trivial_usage \ |
1029 | "[-ANPRTV] [ -C fd ] [-t fstype] [fs-options] [filesys ...]" | 1029 | "[-ANPRTV] [-C fd] [-t fstype] [fs-options] [filesys ...]" |
1030 | #define fsck_full_usage \ | 1030 | #define fsck_full_usage \ |
1031 | "Check and repair filesystems" \ | 1031 | "Check and repair filesystems" \ |
1032 | "\n\nOptions:\n" \ | 1032 | "\n\nOptions:\n" \ |
@@ -1203,7 +1203,7 @@ | |||
1203 | "[OPTION]... [FILE]..." | 1203 | "[OPTION]... [FILE]..." |
1204 | #define gzip_full_usage \ | 1204 | #define gzip_full_usage \ |
1205 | "Compress FILE(s) with maximum compression.\n" \ | 1205 | "Compress FILE(s) with maximum compression.\n" \ |
1206 | "When FILE is '-' or unspecified, reads standard input. Implies -c." \ | 1206 | "When FILE is '-' or unspecified, reads standard input. Implies -c." \ |
1207 | "\n\nOptions:\n" \ | 1207 | "\n\nOptions:\n" \ |
1208 | " -c Write output to standard output instead of FILE.gz\n" \ | 1208 | " -c Write output to standard output instead of FILE.gz\n" \ |
1209 | " -d Decompress\n" \ | 1209 | " -d Decompress\n" \ |
@@ -1447,11 +1447,11 @@ | |||
1447 | #define init_notes_usage \ | 1447 | #define init_notes_usage \ |
1448 | "This version of init is designed to be run only by the kernel.\n" \ | 1448 | "This version of init is designed to be run only by the kernel.\n" \ |
1449 | "\n" \ | 1449 | "\n" \ |
1450 | "BusyBox init doesn't support multiple runlevels. The runlevels field of\n" \ | 1450 | "BusyBox init doesn't support multiple runlevels. The runlevels field of\n" \ |
1451 | "the /etc/inittab file is completely ignored by BusyBox init. If you want\n" \ | 1451 | "the /etc/inittab file is completely ignored by BusyBox init. If you want\n" \ |
1452 | "runlevels, use sysvinit.\n" \ | 1452 | "runlevels, use sysvinit.\n" \ |
1453 | "\n" \ | 1453 | "\n" \ |
1454 | "BusyBox init works just fine without an inittab. If no inittab is found,\n" \ | 1454 | "BusyBox init works just fine without an inittab. If no inittab is found,\n" \ |
1455 | "it has the following default behavior:\n" \ | 1455 | "it has the following default behavior:\n" \ |
1456 | "\n" \ | 1456 | "\n" \ |
1457 | " ::sysinit:/etc/init.d/rcS\n" \ | 1457 | " ::sysinit:/etc/init.d/rcS\n" \ |
@@ -1475,13 +1475,13 @@ | |||
1475 | "\n" \ | 1475 | "\n" \ |
1476 | " WARNING: This field has a non-traditional meaning for BusyBox init!\n" \ | 1476 | " WARNING: This field has a non-traditional meaning for BusyBox init!\n" \ |
1477 | " The id field is used by BusyBox init to specify the controlling tty for\n" \ | 1477 | " The id field is used by BusyBox init to specify the controlling tty for\n" \ |
1478 | " the specified process to run on. The contents of this field are\n" \ | 1478 | " the specified process to run on. The contents of this field are\n" \ |
1479 | " appended to \"/dev/\" and used as-is. There is no need for this field to\n" \ | 1479 | " appended to \"/dev/\" and used as-is. There is no need for this field to\n" \ |
1480 | " be unique, although if it isn't you may have strange results. If this\n" \ | 1480 | " be unique, although if it isn't you may have strange results. If this\n" \ |
1481 | " field is left blank, the controlling tty is set to the console. Also\n" \ | 1481 | " field is left blank, the controlling tty is set to the console. Also\n" \ |
1482 | " note that if BusyBox detects that a serial console is in use, then only\n" \ | 1482 | " note that if BusyBox detects that a serial console is in use, then only\n" \ |
1483 | " entries whose controlling tty is either the serial console or /dev/null\n" \ | 1483 | " entries whose controlling tty is either the serial console or /dev/null\n" \ |
1484 | " will be run. BusyBox init does nothing with utmp. We don't need no\n" \ | 1484 | " will be run. BusyBox init does nothing with utmp. We don't need no\n" \ |
1485 | " stinkin' utmp.\n" \ | 1485 | " stinkin' utmp.\n" \ |
1486 | "\n" \ | 1486 | "\n" \ |
1487 | " <runlevels>:\n" \ | 1487 | " <runlevels>:\n" \ |
@@ -1499,35 +1499,35 @@ | |||
1499 | "\n" \ | 1499 | "\n" \ |
1500 | " Run only-once actions:\n" \ | 1500 | " Run only-once actions:\n" \ |
1501 | "\n" \ | 1501 | "\n" \ |
1502 | " 'sysinit' is the first item run on boot. init waits until all\n" \ | 1502 | " 'sysinit' is the first item run on boot. init waits until all\n" \ |
1503 | " sysinit actions are completed before continuing. Following the\n" \ | 1503 | " sysinit actions are completed before continuing. Following the\n" \ |
1504 | " completion of all sysinit actions, all 'wait' actions are run.\n" \ | 1504 | " completion of all sysinit actions, all 'wait' actions are run.\n" \ |
1505 | " 'wait' actions, like 'sysinit' actions, cause init to wait until\n" \ | 1505 | " 'wait' actions, like 'sysinit' actions, cause init to wait until\n" \ |
1506 | " the specified task completes. 'once' actions are asynchronous,\n" \ | 1506 | " the specified task completes. 'once' actions are asynchronous,\n" \ |
1507 | " therefore, init does not wait for them to complete. 'restart' is\n" \ | 1507 | " therefore, init does not wait for them to complete. 'restart' is\n" \ |
1508 | " the action taken to restart the init process. By default this should\n" \ | 1508 | " the action taken to restart the init process. By default this should\n" \ |
1509 | " simply run /sbin/init, but can be a script which runs pivot_root or it\n" \ | 1509 | " simply run /sbin/init, but can be a script which runs pivot_root or it\n" \ |
1510 | " can do all sorts of other interesting things. The 'ctrlaltdel' init\n" \ | 1510 | " can do all sorts of other interesting things. The 'ctrlaltdel' init\n" \ |
1511 | " actions are run when the system detects that someone on the system\n" \ | 1511 | " actions are run when the system detects that someone on the system\n" \ |
1512 | " console has pressed the CTRL-ALT-DEL key combination. Typically one\n" \ | 1512 | " console has pressed the CTRL-ALT-DEL key combination. Typically one\n" \ |
1513 | " wants to run 'reboot' at this point to cause the system to reboot.\n" \ | 1513 | " wants to run 'reboot' at this point to cause the system to reboot.\n" \ |
1514 | " Finally the 'shutdown' action specifies the actions to taken when\n" \ | 1514 | " Finally the 'shutdown' action specifies the actions to taken when\n" \ |
1515 | " init is told to reboot. Unmounting filesystems and disabling swap\n" \ | 1515 | " init is told to reboot. Unmounting filesystems and disabling swap\n" \ |
1516 | " is a very good here.\n" \ | 1516 | " is a very good here.\n" \ |
1517 | "\n" \ | 1517 | "\n" \ |
1518 | " Run repeatedly actions:\n" \ | 1518 | " Run repeatedly actions:\n" \ |
1519 | "\n" \ | 1519 | "\n" \ |
1520 | " 'respawn' actions are run after the 'once' actions. When a process\n" \ | 1520 | " 'respawn' actions are run after the 'once' actions. When a process\n" \ |
1521 | " started with a 'respawn' action exits, init automatically restarts\n" \ | 1521 | " started with a 'respawn' action exits, init automatically restarts\n" \ |
1522 | " it. Unlike sysvinit, BusyBox init does not stop processes from\n" \ | 1522 | " it. Unlike sysvinit, BusyBox init does not stop processes from\n" \ |
1523 | " respawning out of control. The 'askfirst' actions acts just like\n" \ | 1523 | " respawning out of control. The 'askfirst' actions acts just like\n" \ |
1524 | " respawn, except that before running the specified process it\n" \ | 1524 | " respawn, except that before running the specified process it\n" \ |
1525 | " displays the line \"Please press Enter to activate this console.\"\n" \ | 1525 | " displays the line \"Please press Enter to activate this console.\"\n" \ |
1526 | " and then waits for the user to press enter before starting the\n" \ | 1526 | " and then waits for the user to press enter before starting the\n" \ |
1527 | " specified process.\n" \ | 1527 | " specified process.\n" \ |
1528 | "\n" \ | 1528 | "\n" \ |
1529 | " Unrecognized actions (like initdefault) will cause init to emit an\n" \ | 1529 | " Unrecognized actions (like initdefault) will cause init to emit an\n" \ |
1530 | " error message, and then go along with its business. All actions are\n" \ | 1530 | " error message, and then go along with its business. All actions are\n" \ |
1531 | " run in the order they appear in /etc/inittab.\n" \ | 1531 | " run in the order they appear in /etc/inittab.\n" \ |
1532 | "\n" \ | 1532 | "\n" \ |
1533 | " <process>:\n" \ | 1533 | " <process>:\n" \ |
@@ -1578,7 +1578,7 @@ | |||
1578 | "\n\nOptions:\n" \ | 1578 | "\n\nOptions:\n" \ |
1579 | " -f Force module to load into the wrong kernel version\n" \ | 1579 | " -f Force module to load into the wrong kernel version\n" \ |
1580 | " -k Make module autoclean-able\n" \ | 1580 | " -k Make module autoclean-able\n" \ |
1581 | " -v Verbose\n" \ | 1581 | " -v Verbose\n" \ |
1582 | " -q Quiet\n" \ | 1582 | " -q Quiet\n" \ |
1583 | " -L Lock to prevent simultaneous loads of a module\n" \ | 1583 | " -L Lock to prevent simultaneous loads of a module\n" \ |
1584 | USE_FEATURE_INSMOD_LOAD_MAP( \ | 1584 | USE_FEATURE_INSMOD_LOAD_MAP( \ |
@@ -1612,7 +1612,7 @@ | |||
1612 | "} {COMMAND}" | 1612 | "} {COMMAND}" |
1613 | #define ip_full_usage \ | 1613 | #define ip_full_usage \ |
1614 | "ip [OPTIONS] OBJECT {COMMAND}\n" \ | 1614 | "ip [OPTIONS] OBJECT {COMMAND}\n" \ |
1615 | "where OBJECT := {" \ | 1615 | "where OBJECT := {" \ |
1616 | USE_FEATURE_IP_ADDRESS("address | ") \ | 1616 | USE_FEATURE_IP_ADDRESS("address | ") \ |
1617 | USE_FEATURE_IP_ROUTE("route | ") \ | 1617 | USE_FEATURE_IP_ROUTE("route | ") \ |
1618 | USE_FEATURE_IP_LINK("link | ") \ | 1618 | USE_FEATURE_IP_LINK("link | ") \ |
@@ -1623,15 +1623,15 @@ | |||
1623 | 1623 | ||
1624 | #define ipaddr_trivial_usage \ | 1624 | #define ipaddr_trivial_usage \ |
1625 | "{ {add|del} IFADDR dev STRING | {show|flush}\n" \ | 1625 | "{ {add|del} IFADDR dev STRING | {show|flush}\n" \ |
1626 | " [ dev STRING ] [ to PREFIX ] }" | 1626 | " [dev STRING] [to PREFIX] }" |
1627 | #define ipaddr_full_usage \ | 1627 | #define ipaddr_full_usage \ |
1628 | "ipaddr {add|delete} IFADDR dev STRING\n" \ | 1628 | "ipaddr {add|delete} IFADDR dev STRING\n" \ |
1629 | "ipaddr {show|flush} [ dev STRING ] [ scope SCOPE-ID ]\n" \ | 1629 | "ipaddr {show|flush} [dev STRING] [scope SCOPE-ID]\n" \ |
1630 | " [ to PREFIX ] [ label PATTERN ]\n" \ | 1630 | " [to PREFIX] [label PATTERN]\n" \ |
1631 | " IFADDR := PREFIX | ADDR peer PREFIX\n" \ | 1631 | " IFADDR := PREFIX | ADDR peer PREFIX\n" \ |
1632 | " [ broadcast ADDR ] [ anycast ADDR ]\n" \ | 1632 | " [broadcast ADDR] [anycast ADDR]\n" \ |
1633 | " [ label STRING ] [ scope SCOPE-ID ]\n" \ | 1633 | " [label STRING] [scope SCOPE-ID]\n" \ |
1634 | " SCOPE-ID := [ host | link | global | NUMBER ]" | 1634 | " SCOPE-ID := [host | link | global | NUMBER]" |
1635 | 1635 | ||
1636 | #define ipcalc_trivial_usage \ | 1636 | #define ipcalc_trivial_usage \ |
1637 | "[OPTION]... <ADDRESS>[[/]<NETMASK>] [NETMASK]" | 1637 | "[OPTION]... <ADDRESS>[[/]<NETMASK>] [NETMASK]" |
@@ -1674,44 +1674,44 @@ | |||
1674 | " -u Summary" | 1674 | " -u Summary" |
1675 | 1675 | ||
1676 | #define iplink_trivial_usage \ | 1676 | #define iplink_trivial_usage \ |
1677 | "{ set DEVICE { up | down | arp { on | off } | show [ DEVICE ] }" | 1677 | "{ set DEVICE { up | down | arp { on | off } | show [DEVICE] }" |
1678 | #define iplink_full_usage \ | 1678 | #define iplink_full_usage \ |
1679 | "iplink set DEVICE { up | down | arp | multicast { on | off } |\n" \ | 1679 | "iplink set DEVICE { up | down | arp | multicast { on | off } |\n" \ |
1680 | " dynamic { on | off } |\n" \ | 1680 | " dynamic { on | off } |\n" \ |
1681 | " mtu MTU }\n" \ | 1681 | " mtu MTU }\n" \ |
1682 | "iplink show [ DEVICE ]" | 1682 | "iplink show [DEVICE]" |
1683 | 1683 | ||
1684 | #define iproute_trivial_usage \ | 1684 | #define iproute_trivial_usage \ |
1685 | "{ list | flush | { add | del | change | append |\n" \ | 1685 | "{ list | flush | { add | del | change | append |\n" \ |
1686 | " replace | monitor } ROUTE }" | 1686 | " replace | monitor } ROUTE }" |
1687 | #define iproute_full_usage \ | 1687 | #define iproute_full_usage \ |
1688 | "iproute { list | flush } SELECTOR\n" \ | 1688 | "iproute { list | flush } SELECTOR\n" \ |
1689 | "iproute get ADDRESS [ from ADDRESS iif STRING ]\n" \ | 1689 | "iproute get ADDRESS [from ADDRESS iif STRING]\n" \ |
1690 | " [ oif STRING ] [ tos TOS ]\n" \ | 1690 | " [oif STRING] [tos TOS]\n" \ |
1691 | "iproute { add | del | change | append | replace | monitor } ROUTE\n" \ | 1691 | "iproute { add | del | change | append | replace | monitor } ROUTE\n" \ |
1692 | " SELECTOR := [ root PREFIX ] [ match PREFIX ] [ proto RTPROTO ]\n" \ | 1692 | " SELECTOR := [root PREFIX] [match PREFIX] [proto RTPROTO]\n" \ |
1693 | " ROUTE := [ TYPE ] PREFIX [ tos TOS ] [ proto RTPROTO ]" | 1693 | " ROUTE := [TYPE] PREFIX [tos TOS] [proto RTPROTO]" |
1694 | 1694 | ||
1695 | #define iprule_trivial_usage \ | 1695 | #define iprule_trivial_usage \ |
1696 | "{[ list | add | del ] RULE}" | 1696 | "{[list | add | del] RULE}" |
1697 | #define iprule_full_usage \ | 1697 | #define iprule_full_usage \ |
1698 | "iprule [ list | add | del ] SELECTOR ACTION\n" \ | 1698 | "iprule [list | add | del] SELECTOR ACTION\n" \ |
1699 | " SELECTOR := [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK ]\n" \ | 1699 | " SELECTOR := [from PREFIX] [to PREFIX] [tos TOS] [fwmark FWMARK]\n" \ |
1700 | " [ dev STRING ] [ pref NUMBER ]\n" \ | 1700 | " [dev STRING] [pref NUMBER]\n" \ |
1701 | " ACTION := [ table TABLE_ID ] [ nat ADDRESS ]\n" \ | 1701 | " ACTION := [table TABLE_ID] [nat ADDRESS]\n" \ |
1702 | " [ prohibit | reject | unreachable ]\n" \ | 1702 | " [prohibit | reject | unreachable]\n" \ |
1703 | " [ realms [SRCREALM/]DSTREALM ]\n" \ | 1703 | " [realms [SRCREALM/]DSTREALM]\n" \ |
1704 | " TABLE_ID := [ local | main | default | NUMBER ]" | 1704 | " TABLE_ID := [local | main | default | NUMBER]" |
1705 | 1705 | ||
1706 | #define iptunnel_trivial_usage \ | 1706 | #define iptunnel_trivial_usage \ |
1707 | "{ add | change | del | show } [ NAME ]\n" \ | 1707 | "{ add | change | del | show } [NAME]\n" \ |
1708 | " [ mode { ipip | gre | sit } ]\n" \ | 1708 | " [mode { ipip | gre | sit }]\n" \ |
1709 | " [ remote ADDR ] [ local ADDR ] [ ttl TTL ]" | 1709 | " [remote ADDR] [local ADDR] [ttl TTL]" |
1710 | #define iptunnel_full_usage \ | 1710 | #define iptunnel_full_usage \ |
1711 | "iptunnel { add | change | del | show } [ NAME ]\n" \ | 1711 | "iptunnel { add | change | del | show } [NAME]\n" \ |
1712 | " [ mode { ipip | gre | sit } ] [ remote ADDR ] [ local ADDR ]\n" \ | 1712 | " [mode { ipip | gre | sit }] [remote ADDR] [local ADDR]\n" \ |
1713 | " [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ]\n" \ | 1713 | " [[i|o]seq] [[i|o]key KEY] [[i|o]csum]\n" \ |
1714 | " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]" | 1714 | " [ttl TTL] [tos TOS] [[no]pmtudisc] [dev PHYS_DEV]" |
1715 | 1715 | ||
1716 | #define kill_trivial_usage \ | 1716 | #define kill_trivial_usage \ |
1717 | "[-l] [-signal] process-id [process-id ...]" | 1717 | "[-l] [-signal] process-id [process-id ...]" |
@@ -1821,7 +1821,7 @@ | |||
1821 | #define logger_trivial_usage \ | 1821 | #define logger_trivial_usage \ |
1822 | "[OPTION]... [MESSAGE]" | 1822 | "[OPTION]... [MESSAGE]" |
1823 | #define logger_full_usage \ | 1823 | #define logger_full_usage \ |
1824 | "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin." \ | 1824 | "Write MESSAGE to the system log. If MESSAGE is omitted, log stdin." \ |
1825 | "\n\nOptions:\n" \ | 1825 | "\n\nOptions:\n" \ |
1826 | " -s Log to stderr as well as the system log\n" \ | 1826 | " -s Log to stderr as well as the system log\n" \ |
1827 | " -t TAG Log using the specified tag (defaults to user name)\n" \ | 1827 | " -t TAG Log using the specified tag (defaults to user name)\n" \ |
@@ -1864,10 +1864,10 @@ | |||
1864 | #define losetup_notes_usage \ | 1864 | #define losetup_notes_usage \ |
1865 | "No arguments will display all current associations.\n" \ | 1865 | "No arguments will display all current associations.\n" \ |
1866 | "One argument (losetup /dev/loop1) will display the current association\n" \ | 1866 | "One argument (losetup /dev/loop1) will display the current association\n" \ |
1867 | "(if any), or disassociate it (with -d). The display shows the offset\n" \ | 1867 | "(if any), or disassociate it (with -d). The display shows the offset\n" \ |
1868 | "and filename of the file the loop device is currently bound to.\n\n" \ | 1868 | "and filename of the file the loop device is currently bound to.\n\n" \ |
1869 | "Two arguments (losetup /dev/loop1 file.img) create a new association,\n" \ | 1869 | "Two arguments (losetup /dev/loop1 file.img) create a new association,\n" \ |
1870 | "with an optional offset (-o 12345). Encryption is not yet supported.\n\n" | 1870 | "with an optional offset (-o 12345). Encryption is not yet supported.\n\n" |
1871 | 1871 | ||
1872 | #define ls_trivial_usage \ | 1872 | #define ls_trivial_usage \ |
1873 | "[-1Aa" USE_FEATURE_LS_TIMESTAMPS("c") "Cd" \ | 1873 | "[-1Aa" USE_FEATURE_LS_TIMESTAMPS("c") "Cd" \ |
@@ -1983,8 +1983,8 @@ | |||
1983 | " b Block special device file\n" \ | 1983 | " b Block special device file\n" \ |
1984 | " p Fifo (named pipe)\n" \ | 1984 | " p Fifo (named pipe)\n" \ |
1985 | "uid is the user id for the target file, gid is the group id for the\n" \ | 1985 | "uid is the user id for the target file, gid is the group id for the\n" \ |
1986 | "target file. The rest of the entries (major, minor, etc) apply to\n" \ | 1986 | "target file. The rest of the entries (major, minor, etc) apply to\n" \ |
1987 | "to device special files. A '-' may be used for blank entries." | 1987 | "to device special files. A '-' may be used for blank entries." |
1988 | #define makedevs_example_usage \ | 1988 | #define makedevs_example_usage \ |
1989 | "For example:\n" \ | 1989 | "For example:\n" \ |
1990 | "<name> <type> <mode><uid><gid><major><minor><start><inc><count>\n" \ | 1990 | "<name> <type> <mode><uid><gid><major><minor><start><inc><count>\n" \ |
@@ -2048,15 +2048,15 @@ | |||
2048 | USE_FEATURE_MDEV_EXEC( \ | 2048 | USE_FEATURE_MDEV_EXEC( \ |
2049 | "Optionally, that can be followed (on the same line) by a special character\n" \ | 2049 | "Optionally, that can be followed (on the same line) by a special character\n" \ |
2050 | "and a command line to run after creating/before deleting the corresponding\n" \ | 2050 | "and a command line to run after creating/before deleting the corresponding\n" \ |
2051 | "device(s). The environment variable $MDEV indicates the active device node\n" \ | 2051 | "device(s). The environment variable $MDEV indicates the active device node\n" \ |
2052 | "(which is useful if it's a regex match). For example:\n\n" \ | 2052 | "(which is useful if it's a regex match). For example:\n\n" \ |
2053 | " hdc root:cdrom 660 *ln -s $MDEV cdrom\n\n" \ | 2053 | " hdc root:cdrom 660 *ln -s $MDEV cdrom\n\n" \ |
2054 | "The special characters are @ (run after creating), $ (run before deleting),\n" \ | 2054 | "The special characters are @ (run after creating), $ (run before deleting),\n" \ |
2055 | "and * (run both after creating and before deleting). The commands run in\n" \ | 2055 | "and * (run both after creating and before deleting). The commands run in\n" \ |
2056 | "the /dev directory, and use system() which calls /bin/sh.\n\n" \ | 2056 | "the /dev directory, and use system() which calls /bin/sh.\n\n" \ |
2057 | ) \ | 2057 | ) \ |
2058 | "Config file parsing stops on the first matching line. If no config\n"\ | 2058 | "Config file parsing stops on the first matching line. If no config\n"\ |
2059 | "entry is matched, devices are created with default 0:0 660. (Make\n"\ | 2059 | "entry is matched, devices are created with default 0:0 660. (Make\n"\ |
2060 | "the last line match .* to override this.)\n\n" \ | 2060 | "the last line match .* to override this.)\n\n" \ |
2061 | ) | 2061 | ) |
2062 | 2062 | ||
@@ -2260,8 +2260,8 @@ | |||
2260 | #define mount_trivial_usage \ | 2260 | #define mount_trivial_usage \ |
2261 | "[flags] DEVICE NODE [-o options,more-options]" | 2261 | "[flags] DEVICE NODE [-o options,more-options]" |
2262 | #define mount_full_usage \ | 2262 | #define mount_full_usage \ |
2263 | "Mount a filesystem. Filesystem autodetection requires /proc be mounted." \ | 2263 | "Mount a filesystem. Filesystem autodetection requires /proc be mounted." \ |
2264 | "\n\nOptions:\n" \ | 2264 | "\n\nOptions:\n" \ |
2265 | " -a Mount all filesystems in fstab\n" \ | 2265 | " -a Mount all filesystems in fstab\n" \ |
2266 | USE_FEATURE_MTAB_SUPPORT( \ | 2266 | USE_FEATURE_MTAB_SUPPORT( \ |
2267 | " -f \"Fake\" Add entry to mount table but don't mount it\n" \ | 2267 | " -f \"Fake\" Add entry to mount table but don't mount it\n" \ |
@@ -2310,7 +2310,7 @@ | |||
2310 | "[-q] <[-d] DIR | -x DEVICE>" | 2310 | "[-q] <[-d] DIR | -x DEVICE>" |
2311 | #define mountpoint_full_usage \ | 2311 | #define mountpoint_full_usage \ |
2312 | "mountpoint checks if the directory is a mountpoint" \ | 2312 | "mountpoint checks if the directory is a mountpoint" \ |
2313 | "\n\nOptions:\n" \ | 2313 | "\n\nOptions:\n" \ |
2314 | " -q Quiet\n" \ | 2314 | " -q Quiet\n" \ |
2315 | " -d Print major/minor device number of the filesystem\n" \ | 2315 | " -d Print major/minor device number of the filesystem\n" \ |
2316 | " -x Print major/minor device number of the blockdevice" | 2316 | " -x Print major/minor device number of the blockdevice" |
@@ -2499,7 +2499,7 @@ | |||
2499 | "[-aBbcDdeFfHhIiLlOovXx] [FILE]" | 2499 | "[-aBbcDdeFfHhIiLlOovXx] [FILE]" |
2500 | #define od_full_usage \ | 2500 | #define od_full_usage \ |
2501 | "Write an unambiguous representation, octal bytes by default, of FILE\n" \ | 2501 | "Write an unambiguous representation, octal bytes by default, of FILE\n" \ |
2502 | "to standard output. With no FILE, or when FILE is -, read standard input." | 2502 | "to standard output. With no FILE, or when FILE is -, read standard input." |
2503 | 2503 | ||
2504 | #define openvt_trivial_usage \ | 2504 | #define openvt_trivial_usage \ |
2505 | "<vtnum> <COMMAND> [ARGS...]" | 2505 | "<vtnum> <COMMAND> [ARGS...]" |
@@ -2678,7 +2678,6 @@ | |||
2678 | " 745 root root S [getty]\n" \ | 2678 | " 745 root root S [getty]\n" \ |
2679 | " 2990 andersen andersen R ps\n" | 2679 | " 2990 andersen andersen R ps\n" |
2680 | 2680 | ||
2681 | |||
2682 | #define pscan_trivial_usage \ | 2681 | #define pscan_trivial_usage \ |
2683 | "[-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST" | 2682 | "[-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST" |
2684 | #define pscan_full_usage \ | 2683 | #define pscan_full_usage \ |
@@ -2742,7 +2741,7 @@ | |||
2742 | " -n Disable byte order auto-detection" | 2741 | " -n Disable byte order auto-detection" |
2743 | 2742 | ||
2744 | #define realpath_trivial_usage \ | 2743 | #define realpath_trivial_usage \ |
2745 | "pathname ..." | 2744 | "pathname ..." |
2746 | #define realpath_full_usage \ | 2745 | #define realpath_full_usage \ |
2747 | "Return the absolute pathnames of given argument" | 2746 | "Return the absolute pathnames of given argument" |
2748 | 2747 | ||
@@ -2756,7 +2755,7 @@ | |||
2756 | " -f Force reboot (don't go through init)" | 2755 | " -f Force reboot (don't go through init)" |
2757 | 2756 | ||
2758 | #define renice_trivial_usage \ | 2757 | #define renice_trivial_usage \ |
2759 | "{{-n INCREMENT} | PRIORITY} [[ -p | -g | -u ] ID ...]" | 2758 | "{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID ...]" |
2760 | #define renice_full_usage \ | 2759 | #define renice_full_usage \ |
2761 | "Change priority of running processes" \ | 2760 | "Change priority of running processes" \ |
2762 | "\n\nOptions:\n" \ | 2761 | "\n\nOptions:\n" \ |
@@ -2778,7 +2777,7 @@ | |||
2778 | #define rm_trivial_usage \ | 2777 | #define rm_trivial_usage \ |
2779 | "[OPTION]... FILE..." | 2778 | "[OPTION]... FILE..." |
2780 | #define rm_full_usage \ | 2779 | #define rm_full_usage \ |
2781 | "Remove (unlink) the FILE(s). You may use '--' to\n" \ | 2780 | "Remove (unlink) the FILE(s). You may use '--' to\n" \ |
2782 | "indicate that all following arguments are non-options." \ | 2781 | "indicate that all following arguments are non-options." \ |
2783 | "\n\nOptions:\n" \ | 2782 | "\n\nOptions:\n" \ |
2784 | " -i Always prompt before removing each destination\n" \ | 2783 | " -i Always prompt before removing each destination\n" \ |
@@ -2831,8 +2830,8 @@ | |||
2831 | "Output a cpio archive of the rpm file" | 2830 | "Output a cpio archive of the rpm file" |
2832 | 2831 | ||
2833 | #define runcon_trivial_usage \ | 2832 | #define runcon_trivial_usage \ |
2834 | "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n" \ | 2833 | "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n" \ |
2835 | " runcon CONTEXT COMMAND [args]" | 2834 | " runcon CONTEXT COMMAND [args]" |
2836 | #define runcon_full_usage \ | 2835 | #define runcon_full_usage \ |
2837 | "runcon [-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n" \ | 2836 | "runcon [-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n" \ |
2838 | "runcon CONTEXT COMMAND [args]\n" \ | 2837 | "runcon CONTEXT COMMAND [args]\n" \ |
@@ -2908,7 +2907,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
2908 | "\n" \ | 2907 | "\n" \ |
2909 | "If no -e or -f is given, the first non-option argument is taken as the sed\n" \ | 2908 | "If no -e or -f is given, the first non-option argument is taken as the sed\n" \ |
2910 | "script to interpret. All remaining arguments are names of input files; if no\n" \ | 2909 | "script to interpret. All remaining arguments are names of input files; if no\n" \ |
2911 | "input files are specified, then the standard input is read. Source files\n" \ | 2910 | "input files are specified, then the standard input is read. Source files\n" \ |
2912 | "will not be modified unless -i option is given." | 2911 | "will not be modified unless -i option is given." |
2913 | 2912 | ||
2914 | #define sed_example_usage \ | 2913 | #define sed_example_usage \ |
@@ -2936,7 +2935,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
2936 | " -r Reset output to /dev/console" | 2935 | " -r Reset output to /dev/console" |
2937 | 2936 | ||
2938 | #define setenforce_trivial_usage \ | 2937 | #define setenforce_trivial_usage \ |
2939 | "[ Enforcing | Permissive | 1 | 0 ]" | 2938 | "[Enforcing | Permissive | 1 | 0]" |
2940 | #define setenforce_full_usage | 2939 | #define setenforce_full_usage |
2941 | 2940 | ||
2942 | #define setkeycodes_trivial_usage \ | 2941 | #define setkeycodes_trivial_usage \ |
@@ -2958,7 +2957,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
2958 | "program [arg ...]" | 2957 | "program [arg ...]" |
2959 | #define setsid_full_usage \ | 2958 | #define setsid_full_usage \ |
2960 | "Run any program in a new session by calling setsid() before\n" \ | 2959 | "Run any program in a new session by calling setsid() before\n" \ |
2961 | "exec'ing the rest of its arguments. See setsid(2) for details." | 2960 | "exec'ing the rest of its arguments. See setsid(2) for details." |
2962 | 2961 | ||
2963 | #define lash_trivial_usage \ | 2962 | #define lash_trivial_usage \ |
2964 | "[FILE]...\n" \ | 2963 | "[FILE]...\n" \ |
@@ -2967,11 +2966,11 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
2967 | "The BusyBox LAme SHell (command interpreter)" | 2966 | "The BusyBox LAme SHell (command interpreter)" |
2968 | #define lash_notes_usage \ | 2967 | #define lash_notes_usage \ |
2969 | "This command does not yet have proper documentation.\n\n" \ | 2968 | "This command does not yet have proper documentation.\n\n" \ |
2970 | "Use lash just as you would use any other shell. It properly handles pipes,\n" \ | 2969 | "Use lash just as you would use any other shell. It properly handles pipes,\n" \ |
2971 | "redirects, job control, can be used as the shell for scripts, and has a\n" \ | 2970 | "redirects, job control, can be used as the shell for scripts, and has a\n" \ |
2972 | "sufficient set of builtins to do what is needed. It does not (yet) support\n" \ | 2971 | "sufficient set of builtins to do what is needed. It does not (yet) support\n" \ |
2973 | "Bourne Shell syntax. If you need things like \"if-then-else\", \"while\", and such\n" \ | 2972 | "Bourne Shell syntax. If you need things like \"if-then-else\", \"while\", and such\n" \ |
2974 | "use ash or bash. If you just need a very simple and extremely small shell,\n" \ | 2973 | "use ash or bash. If you just need a very simple and extremely small shell,\n" \ |
2975 | "this will do the job." | 2974 | "this will do the job." |
2976 | 2975 | ||
2977 | #define last_trivial_usage \ | 2976 | #define last_trivial_usage \ |
@@ -3070,9 +3069,9 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3070 | "[OPTION] [INPUT [PREFIX]]" | 3069 | "[OPTION] [INPUT [PREFIX]]" |
3071 | #define split_full_usage \ | 3070 | #define split_full_usage \ |
3072 | "Options:" \ | 3071 | "Options:" \ |
3073 | "\n -b n[k|m] Split by bytes" \ | 3072 | "\n -b n[k|m] Split by bytes" \ |
3074 | "\n -l n Split by lines" \ | 3073 | "\n -l n Split by lines" \ |
3075 | "\n -a n Use n letters as suffix" | 3074 | "\n -a n Use n letters as suffix" |
3076 | #define split_example_usage \ | 3075 | #define split_example_usage \ |
3077 | "$ split TODO foo\n" \ | 3076 | "$ split TODO foo\n" \ |
3078 | "$ cat TODO | split -a 2 -l 2 TODO_\n" | 3077 | "$ cat TODO | split -a 2 -l 2 TODO_\n" |
@@ -3160,7 +3159,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3160 | ) | 3159 | ) |
3161 | 3160 | ||
3162 | #define strings_trivial_usage \ | 3161 | #define strings_trivial_usage \ |
3163 | "[-afo] [-n length] [file ... ]" | 3162 | "[-afo] [-n length] [file ...]" |
3164 | #define strings_full_usage \ | 3163 | #define strings_full_usage \ |
3165 | "Display printable strings in a binary file" \ | 3164 | "Display printable strings in a binary file" \ |
3166 | "\n\nOptions:" \ | 3165 | "\n\nOptions:" \ |
@@ -3280,7 +3279,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3280 | USE_FEATURE_IPC_SYSLOG( \ | 3279 | USE_FEATURE_IPC_SYSLOG( \ |
3281 | "\n -C[size(KiB)] Log to a shared mem buffer (read the buffer using logread)") | 3280 | "\n -C[size(KiB)] Log to a shared mem buffer (read the buffer using logread)") |
3282 | /* NB: -Csize shouldn't have space (because size is optional) */ | 3281 | /* NB: -Csize shouldn't have space (because size is optional) */ |
3283 | /* "\n -m MIN Minutes between MARK lines (default=20, 0=off)" */ | 3282 | /* "\n -m MIN Minutes between MARK lines (default=20, 0=off)" */ |
3284 | #define syslogd_example_usage \ | 3283 | #define syslogd_example_usage \ |
3285 | "$ syslogd -R masterlog:514\n" \ | 3284 | "$ syslogd -R masterlog:514\n" \ |
3286 | "$ syslogd -R 192.168.1.1:601\n" | 3285 | "$ syslogd -R 192.168.1.1:601\n" |
@@ -3381,7 +3380,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3381 | " -l USER Attempt an automatic login with the USER argument\n" \ | 3380 | " -l USER Attempt an automatic login with the USER argument\n" \ |
3382 | " HOST The official name, alias or the IP address of the\n" \ | 3381 | " HOST The official name, alias or the IP address of the\n" \ |
3383 | " remote host\n" \ | 3382 | " remote host\n" \ |
3384 | " PORT The remote port number to connect to. If it is not\n" \ | 3383 | " PORT The remote port number to connect to. If it is not\n" \ |
3385 | " specified, the default telnet (23) port is used." | 3384 | " specified, the default telnet (23) port is used." |
3386 | #else | 3385 | #else |
3387 | #define telnet_trivial_usage \ | 3386 | #define telnet_trivial_usage \ |
@@ -3427,7 +3426,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3427 | #define tcpsvd_trivial_usage \ | 3426 | #define tcpsvd_trivial_usage \ |
3428 | "[-hEv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] ip port prog..." | 3427 | "[-hEv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] ip port prog..." |
3429 | /* with not-implemented options: */ | 3428 | /* with not-implemented options: */ |
3430 | /* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [ -t sec] ip port prog..." */ | 3429 | /* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [-t sec] ip port prog..." */ |
3431 | #define tcpsvd_full_usage \ | 3430 | #define tcpsvd_full_usage \ |
3432 | "Creates TCP socket, binds it to ip:port and listens on it\n" \ | 3431 | "Creates TCP socket, binds it to ip:port and listens on it\n" \ |
3433 | "for incoming connections. For each connection it runs prog." \ | 3432 | "for incoming connections. For each connection it runs prog." \ |
@@ -3482,7 +3481,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3482 | #define time_trivial_usage \ | 3481 | #define time_trivial_usage \ |
3483 | "[OPTION]... COMMAND [ARGS...]" | 3482 | "[OPTION]... COMMAND [ARGS...]" |
3484 | #define time_full_usage \ | 3483 | #define time_full_usage \ |
3485 | "Run the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ | 3484 | "Run the program COMMAND with arguments ARGS. When COMMAND finishes,\n" \ |
3486 | "COMMAND's resource usage information is displayed." \ | 3485 | "COMMAND's resource usage information is displayed." \ |
3487 | "\n\nOptions:\n" \ | 3486 | "\n\nOptions:\n" \ |
3488 | " -v Verbose" | 3487 | " -v Verbose" |
@@ -3621,7 +3620,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3621 | #define uname_trivial_usage \ | 3620 | #define uname_trivial_usage \ |
3622 | "[OPTION]..." | 3621 | "[OPTION]..." |
3623 | #define uname_full_usage \ | 3622 | #define uname_full_usage \ |
3624 | "Print certain system information. With no OPTION, same as -s." \ | 3623 | "Print certain system information. With no OPTION, same as -s." \ |
3625 | "\n\nOptions:\n" \ | 3624 | "\n\nOptions:\n" \ |
3626 | " -a Print all information\n" \ | 3625 | " -a Print all information\n" \ |
3627 | " -m The machine (hardware) type\n" \ | 3626 | " -m The machine (hardware) type\n" \ |
@@ -3635,7 +3634,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3635 | "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" | 3634 | "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" |
3636 | 3635 | ||
3637 | #define uncompress_trivial_usage \ | 3636 | #define uncompress_trivial_usage \ |
3638 | "[-c] [-f] [ name ... ]" | 3637 | "[-c] [-f] [name...]" |
3639 | #define uncompress_full_usage \ | 3638 | #define uncompress_full_usage \ |
3640 | "Uncompress .Z file[s]" \ | 3639 | "Uncompress .Z file[s]" \ |
3641 | "\n\nOptions:\n" \ | 3640 | "\n\nOptions:\n" \ |
@@ -3662,7 +3661,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3662 | #define unix2dos_trivial_usage \ | 3661 | #define unix2dos_trivial_usage \ |
3663 | "[option] [FILE]" | 3662 | "[option] [FILE]" |
3664 | #define unix2dos_full_usage \ | 3663 | #define unix2dos_full_usage \ |
3665 | "Convert FILE from unix format to dos format. When no option\n" \ | 3664 | "Convert FILE from unix format to dos format. When no option\n" \ |
3666 | "is given, the input is converted to the opposite output format.\n" \ | 3665 | "is given, the input is converted to the opposite output format.\n" \ |
3667 | "When no file is given, use stdin/stdout." \ | 3666 | "When no file is given, use stdin/stdout." \ |
3668 | "\n\nOptions:\n" \ | 3667 | "\n\nOptions:\n" \ |
@@ -3743,7 +3742,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3743 | #define vlock_trivial_usage \ | 3742 | #define vlock_trivial_usage \ |
3744 | "[OPTIONS]" | 3743 | "[OPTIONS]" |
3745 | #define vlock_full_usage \ | 3744 | #define vlock_full_usage \ |
3746 | "Lock a virtual terminal. A password is required to unlock." \ | 3745 | "Lock a virtual terminal. A password is required to unlock." \ |
3747 | "\n\nOptions:\n" \ | 3746 | "\n\nOptions:\n" \ |
3748 | " -a Lock all VTs" | 3747 | " -a Lock all VTs" |
3749 | 3748 | ||
@@ -3772,7 +3771,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3772 | "[OPTION]... [FILE]..." | 3771 | "[OPTION]... [FILE]..." |
3773 | #define wc_full_usage \ | 3772 | #define wc_full_usage \ |
3774 | "Print line, word, and byte counts for each FILE, and a total line if\n" \ | 3773 | "Print line, word, and byte counts for each FILE, and a total line if\n" \ |
3775 | "more than one FILE is specified. With no FILE, read standard input." \ | 3774 | "more than one FILE is specified. With no FILE, read standard input." \ |
3776 | "\n\nOptions:\n" \ | 3775 | "\n\nOptions:\n" \ |
3777 | " -c Print the byte counts\n" \ | 3776 | " -c Print the byte counts\n" \ |
3778 | " -l Print the newline counts\n" \ | 3777 | " -l Print the newline counts\n" \ |