diff options
| author | timr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-12-28 05:02:40 +0000 |
|---|---|---|
| committer | timr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-12-28 05:02:40 +0000 |
| commit | 229633ca93ed18bcc09a6f210e96db22853e2cad (patch) | |
| tree | 09d2eab08aebc6ffd5f13bd39b736a5502c263f5 /include | |
| parent | 1ea8fa4c172bf97fda951edba36cc54c3df9adef (diff) | |
| download | busybox-w32-229633ca93ed18bcc09a6f210e96db22853e2cad.tar.gz busybox-w32-229633ca93ed18bcc09a6f210e96db22853e2cad.tar.bz2 busybox-w32-229633ca93ed18bcc09a6f210e96db22853e2cad.zip | |
ws, show date setting format
git-svn-id: svn://busybox.net/trunk/busybox@8190 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/include/usage.h b/include/usage.h index 43c63e5f3..d422486f8 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -211,7 +211,7 @@ | |||
| 211 | "\tt\t\tlist\n" \ | 211 | "\tt\t\tlist\n" \ |
| 212 | "\tu\t\tunconditional overwrite\n" \ | 212 | "\tu\t\tunconditional overwrite\n" \ |
| 213 | "\tF\t\tinput from file" | 213 | "\tF\t\tinput from file" |
| 214 | 214 | ||
| 215 | #define crond_trivial_usage \ | 215 | #define crond_trivial_usage \ |
| 216 | "-d[#] -c <crondir> -f -b" | 216 | "-d[#] -c <crondir> -f -b" |
| 217 | #define crond_full_usage \ | 217 | #define crond_full_usage \ |
| @@ -260,7 +260,7 @@ | |||
| 260 | #endif | 260 | #endif |
| 261 | 261 | ||
| 262 | #define date_trivial_usage \ | 262 | #define date_trivial_usage \ |
| 263 | "[OPTION]... [+FORMAT]" | 263 | "[OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]" |
| 264 | #define date_full_usage \ | 264 | #define date_full_usage \ |
| 265 | "Displays the current time in the given FORMAT, or sets the system date.\n" \ | 265 | "Displays the current time in the given FORMAT, or sets the system date.\n" \ |
| 266 | "\nOptions:\n" \ | 266 | "\nOptions:\n" \ |
| @@ -362,7 +362,7 @@ | |||
| 362 | #define USAGE_HUMAN_READABLE(a) a | 362 | #define USAGE_HUMAN_READABLE(a) a |
| 363 | #define USAGE_NOT_HUMAN_READABLE(a) | 363 | #define USAGE_NOT_HUMAN_READABLE(a) |
| 364 | #else | 364 | #else |
| 365 | #define USAGE_HUMAN_READABLE(a) | 365 | #define USAGE_HUMAN_READABLE(a) |
| 366 | #define USAGE_NOT_HUMAN_READABLE(a) a | 366 | #define USAGE_NOT_HUMAN_READABLE(a) a |
| 367 | #endif | 367 | #endif |
| 368 | #define df_trivial_usage \ | 368 | #define df_trivial_usage \ |
| @@ -496,7 +496,7 @@ | |||
| 496 | #ifdef CONFIG_FEATURE_FANCY_ECHO | 496 | #ifdef CONFIG_FEATURE_FANCY_ECHO |
| 497 | #define USAGE_FANCY_ECHO(a) a | 497 | #define USAGE_FANCY_ECHO(a) a |
| 498 | #else | 498 | #else |
| 499 | #define USAGE_FANCY_ECHO(a) | 499 | #define USAGE_FANCY_ECHO(a) |
| 500 | #endif | 500 | #endif |
| 501 | 501 | ||
| 502 | #define echo_trivial_usage \ | 502 | #define echo_trivial_usage \ |
| @@ -705,7 +705,7 @@ | |||
| 705 | "\t-v, --verbose Verbose\n" \ | 705 | "\t-v, --verbose Verbose\n" \ |
| 706 | "\t-u, --username Username to be used\n" \ | 706 | "\t-u, --username Username to be used\n" \ |
| 707 | "\t-p, --password Password to be used\n" \ | 707 | "\t-p, --password Password to be used\n" \ |
| 708 | "\t-P, --port Port number to be used\n" | 708 | "\t-P, --port Port number to be used\n" |
| 709 | 709 | ||
| 710 | #define ftpput_trivial_usage \ | 710 | #define ftpput_trivial_usage \ |
| 711 | "[options] remote-host remote-directory local-file" | 711 | "[options] remote-host remote-directory local-file" |
| @@ -715,7 +715,7 @@ | |||
| 715 | "\t-v, --verbose Verbose\n" \ | 715 | "\t-v, --verbose Verbose\n" \ |
| 716 | "\t-u, --username Username to be used\n" \ | 716 | "\t-u, --username Username to be used\n" \ |
| 717 | "\t-p, --password Password to be used\n" \ | 717 | "\t-p, --password Password to be used\n" \ |
| 718 | "\t-P, --port Port number to be used\n" | 718 | "\t-P, --port Port number to be used\n" |
| 719 | 719 | ||
| 720 | #define getopt_trivial_usage \ | 720 | #define getopt_trivial_usage \ |
| 721 | "[OPTIONS]..." | 721 | "[OPTIONS]..." |
| @@ -1104,7 +1104,7 @@ | |||
| 1104 | "\t-v\tprint out what would happen before doing it\n" \ | 1104 | "\t-v\tprint out what would happen before doing it\n" \ |
| 1105 | "\t-m\tdon't run any mappings\n" \ | 1105 | "\t-m\tdon't run any mappings\n" \ |
| 1106 | "\t-f\tforce de/configuration\n" | 1106 | "\t-f\tforce de/configuration\n" |
| 1107 | 1107 | ||
| 1108 | #define inetd_trivial_usage \ | 1108 | #define inetd_trivial_usage \ |
| 1109 | "[-q len] [conf]" | 1109 | "[-q len] [conf]" |
| 1110 | #define inetd_full_usage \ | 1110 | #define inetd_full_usage \ |
| @@ -1300,7 +1300,7 @@ | |||
| 1300 | "Options:\n" \ | 1300 | "Options:\n" \ |
| 1301 | "\t-b\t--broadcast\tDisplay calculated broadcast address.\n" \ | 1301 | "\t-b\t--broadcast\tDisplay calculated broadcast address.\n" \ |
| 1302 | "\t-n\t--netmask\tDisplay default netmask for IP.\n" \ | 1302 | "\t-n\t--netmask\tDisplay default netmask for IP.\n" \ |
| 1303 | "\t-w\t--network\tDisplay calculated network address." | 1303 | "\t-w\t--network\tDisplay calculated network address." |
| 1304 | #else | 1304 | #else |
| 1305 | #define ipcalc_trivial_usage \ | 1305 | #define ipcalc_trivial_usage \ |
| 1306 | "[OPTION]... ipaddr <netmask>" | 1306 | "[OPTION]... ipaddr <netmask>" |
| @@ -1312,7 +1312,7 @@ | |||
| 1312 | "\t-n\t--netmask\tDisplay default netmask for IP.\n" \ | 1312 | "\t-n\t--netmask\tDisplay default netmask for IP.\n" \ |
| 1313 | "\t-w\t--network\tDisplay calculated network address.\n" \ | 1313 | "\t-w\t--network\tDisplay calculated network address.\n" \ |
| 1314 | "\t-h\t--hostname\tDisplay first resolved host name.\n" \ | 1314 | "\t-h\t--hostname\tDisplay first resolved host name.\n" \ |
| 1315 | "\t-s\t--silent\tDon't ever display error messages." | 1315 | "\t-s\t--silent\tDon't ever display error messages." |
| 1316 | #endif | 1316 | #endif |
| 1317 | 1317 | ||
| 1318 | #define ipcalc_notes_usage \ | 1318 | #define ipcalc_notes_usage \ |
| @@ -1375,7 +1375,7 @@ | |||
| 1375 | "Options:\n" \ | 1375 | "Options:\n" \ |
| 1376 | "\t-l\tList all signal names and numbers." | 1376 | "\t-l\tList all signal names and numbers." |
| 1377 | #define killall_example_usage \ | 1377 | #define killall_example_usage \ |
| 1378 | "$ killall apache\n" | 1378 | "$ killall apache\n" |
| 1379 | 1379 | ||
| 1380 | #define klogd_trivial_usage \ | 1380 | #define klogd_trivial_usage \ |
| 1381 | "[-c n] [-n]" | 1381 | "[-c n] [-n]" |
| @@ -1405,21 +1405,21 @@ | |||
| 1405 | #define ln_example_usage \ | 1405 | #define ln_example_usage \ |
| 1406 | "$ ln -s BusyBox /tmp/ls\n" \ | 1406 | "$ ln -s BusyBox /tmp/ls\n" \ |
| 1407 | "$ ls -l /tmp/ls\n" \ | 1407 | "$ ls -l /tmp/ls\n" \ |
| 1408 | "lrwxrwxrwx 1 root root 7 Apr 12 18:39 ls -> BusyBox*\n" | 1408 | "lrwxrwxrwx 1 root root 7 Apr 12 18:39 ls -> BusyBox*\n" |
| 1409 | 1409 | ||
| 1410 | #define loadfont_trivial_usage \ | 1410 | #define loadfont_trivial_usage \ |
| 1411 | "< font" | 1411 | "< font" |
| 1412 | #define loadfont_full_usage \ | 1412 | #define loadfont_full_usage \ |
| 1413 | "Loads a console font from standard input." | 1413 | "Loads a console font from standard input." |
| 1414 | #define loadfont_example_usage \ | 1414 | #define loadfont_example_usage \ |
| 1415 | "$ loadfont < /etc/i18n/fontname\n" | 1415 | "$ loadfont < /etc/i18n/fontname\n" |
| 1416 | 1416 | ||
| 1417 | #define loadkmap_trivial_usage \ | 1417 | #define loadkmap_trivial_usage \ |
| 1418 | "< keymap" | 1418 | "< keymap" |
| 1419 | #define loadkmap_full_usage \ | 1419 | #define loadkmap_full_usage \ |
| 1420 | "Loads a binary keyboard translation table from standard input." | 1420 | "Loads a binary keyboard translation table from standard input." |
| 1421 | #define loadkmap_example_usage \ | 1421 | #define loadkmap_example_usage \ |
| 1422 | "$ loadkmap < /etc/i18n/lang-keymap\n" | 1422 | "$ loadkmap < /etc/i18n/lang-keymap\n" |
| 1423 | 1423 | ||
| 1424 | #define logger_trivial_usage \ | 1424 | #define logger_trivial_usage \ |
| 1425 | "[OPTION]... [MESSAGE]" | 1425 | "[OPTION]... [MESSAGE]" |
| @@ -1431,7 +1431,7 @@ | |||
| 1431 | "\t-p\tEnter the message with the specified priority.\n" \ | 1431 | "\t-p\tEnter the message with the specified priority.\n" \ |
| 1432 | "\t\tThis may be numerical or a ``facility.level'' pair." | 1432 | "\t\tThis may be numerical or a ``facility.level'' pair." |
| 1433 | #define logger_example_usage \ | 1433 | #define logger_example_usage \ |
| 1434 | "$ logger "hello"\n" | 1434 | "$ logger "hello"\n" |
| 1435 | 1435 | ||
| 1436 | #define login_trivial_usage \ | 1436 | #define login_trivial_usage \ |
| 1437 | "[OPTION]... [username] [ENV=VAR ...]" | 1437 | "[OPTION]... [username] [ENV=VAR ...]" |
| @@ -1448,7 +1448,7 @@ | |||
| 1448 | "Print the name of the current user." | 1448 | "Print the name of the current user." |
| 1449 | #define logname_example_usage \ | 1449 | #define logname_example_usage \ |
| 1450 | "$ logname\n" \ | 1450 | "$ logname\n" \ |
| 1451 | "root\n" | 1451 | "root\n" |
| 1452 | 1452 | ||
| 1453 | #define logread_trivial_usage \ | 1453 | #define logread_trivial_usage \ |
| 1454 | "[OPTION]..." | 1454 | "[OPTION]..." |
| @@ -1553,7 +1553,7 @@ | |||
| 1553 | "$ makedevs /dev/ttyS c 4 66 2 63\n" \ | 1553 | "$ makedevs /dev/ttyS c 4 66 2 63\n" \ |
| 1554 | "[creates ttyS2-ttyS63]\n" \ | 1554 | "[creates ttyS2-ttyS63]\n" \ |
| 1555 | "$ makedevs /dev/hda b 3 0 0 8 s\n" \ | 1555 | "$ makedevs /dev/hda b 3 0 0 8 s\n" \ |
| 1556 | "[creates hda,hda1-hda8]\n" | 1556 | "[creates hda,hda1-hda8]\n" |
| 1557 | 1557 | ||
| 1558 | #ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK | 1558 | #ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK |
| 1559 | #define USAGE_MD5_SHA1_SUM_CHECK(a) a | 1559 | #define USAGE_MD5_SHA1_SUM_CHECK(a) a |
| @@ -1608,7 +1608,7 @@ | |||
| 1608 | "/tmp/foo: File exists\n" \ | 1608 | "/tmp/foo: File exists\n" \ |
| 1609 | "$ mkdir /tmp/foo/bar/baz\n" \ | 1609 | "$ mkdir /tmp/foo/bar/baz\n" \ |
| 1610 | "/tmp/foo/bar/baz: No such file or directory\n" \ | 1610 | "/tmp/foo/bar/baz: No such file or directory\n" \ |
| 1611 | "$ mkdir -p /tmp/foo/bar/baz\n" | 1611 | "$ mkdir -p /tmp/foo/bar/baz\n" |
| 1612 | 1612 | ||
| 1613 | #define mkfifo_trivial_usage \ | 1613 | #define mkfifo_trivial_usage \ |
| 1614 | "[OPTIONS] name" | 1614 | "[OPTIONS] name" |
| @@ -1640,7 +1640,7 @@ | |||
| 1640 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes." | 1640 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes." |
| 1641 | #define mknod_example_usage \ | 1641 | #define mknod_example_usage \ |
| 1642 | "$ mknod /dev/fd0 b 2 0 \n" \ | 1642 | "$ mknod /dev/fd0 b 2 0 \n" \ |
| 1643 | "$ mknod -m 644 /tmp/pipe p\n" | 1643 | "$ mknod -m 644 /tmp/pipe p\n" |
| 1644 | 1644 | ||
| 1645 | #define mkswap_trivial_usage \ | 1645 | #define mkswap_trivial_usage \ |
| 1646 | "[-c] [-v0|-v1] device [block-count]" | 1646 | "[-c] [-v0|-v1] device [block-count]" |
| @@ -1661,21 +1661,21 @@ | |||
| 1661 | "$ mktemp /tmp/temp.XXXXXX\n" \ | 1661 | "$ mktemp /tmp/temp.XXXXXX\n" \ |
| 1662 | "/tmp/temp.mWiLjM\n" \ | 1662 | "/tmp/temp.mWiLjM\n" \ |
| 1663 | "$ ls -la /tmp/temp.mWiLjM\n" \ | 1663 | "$ ls -la /tmp/temp.mWiLjM\n" \ |
| 1664 | "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" | 1664 | "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" |
| 1665 | 1665 | ||
| 1666 | #define modprobe_trivial_usage \ | 1666 | #define modprobe_trivial_usage \ |
| 1667 | "[FILE ...]" | 1667 | "[FILE ...]" |
| 1668 | #define modprobe_full_usage \ | 1668 | #define modprobe_full_usage \ |
| 1669 | "Used for high level module loading and unloading." | 1669 | "Used for high level module loading and unloading." |
| 1670 | #define modprobe_example_usage \ | 1670 | #define modprobe_example_usage \ |
| 1671 | "$ modprobe cdrom\n" | 1671 | "$ modprobe cdrom\n" |
| 1672 | 1672 | ||
| 1673 | #define more_trivial_usage \ | 1673 | #define more_trivial_usage \ |
| 1674 | "[FILE ...]" | 1674 | "[FILE ...]" |
| 1675 | #define more_full_usage \ | 1675 | #define more_full_usage \ |
| 1676 | "More is a filter for viewing FILE one screenful at a time." | 1676 | "More is a filter for viewing FILE one screenful at a time." |
| 1677 | #define more_example_usage \ | 1677 | #define more_example_usage \ |
| 1678 | "$ dmesg | more\n" | 1678 | "$ dmesg | more\n" |
| 1679 | 1679 | ||
| 1680 | #ifdef CONFIG_FEATURE_MOUNT_LOOP | 1680 | #ifdef CONFIG_FEATURE_MOUNT_LOOP |
| 1681 | #define USAGE_MOUNT_LOOP(a) a | 1681 | #define USAGE_MOUNT_LOOP(a) a |
| @@ -1722,7 +1722,7 @@ | |||
| 1722 | "proc on /proc type proc (rw)\n" \ | 1722 | "proc on /proc type proc (rw)\n" \ |
| 1723 | "devpts on /dev/pts type devpts (rw)\n" \ | 1723 | "devpts on /dev/pts type devpts (rw)\n" \ |
| 1724 | "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \ | 1724 | "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \ |
| 1725 | "$ mount /tmp/diskimage /opt -t ext2 -o loop\n" | 1725 | "$ mount /tmp/diskimage /opt -t ext2 -o loop\n" |
| 1726 | 1726 | ||
| 1727 | #define msvc_trivial_usage \ | 1727 | #define msvc_trivial_usage \ |
| 1728 | "-[udorspchaitkx] service" | 1728 | "-[udorspchaitkx] service" |
| @@ -1759,7 +1759,7 @@ | |||
| 1759 | #define mv_full_usage \ | 1759 | #define mv_full_usage \ |
| 1760 | "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY." | 1760 | "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY." |
| 1761 | #define mv_example_usage \ | 1761 | #define mv_example_usage \ |
| 1762 | "$ mv /tmp/foo /bin/bar\n" | 1762 | "$ mv /tmp/foo /bin/bar\n" |
| 1763 | 1763 | ||
| 1764 | #define nameif_trivial_usage \ | 1764 | #define nameif_trivial_usage \ |
| 1765 | "[-s] [-c FILE] [{IFNAME MACADDR}]" | 1765 | "[-s] [-c FILE] [{IFNAME MACADDR}]" |
| @@ -1768,14 +1768,14 @@ | |||
| 1768 | "Options:\n" \ | 1768 | "Options:\n" \ |
| 1769 | "\t-c FILE\t\tUse configuration file (default is /etc/mactab)\n" \ | 1769 | "\t-c FILE\t\tUse configuration file (default is /etc/mactab)\n" \ |
| 1770 | "\t-s\t\tUse syslog (LOCAL0 facility).\n" \ | 1770 | "\t-s\t\tUse syslog (LOCAL0 facility).\n" \ |
| 1771 | "\tIFNAME MACADDR\tnew_interface_name interface_mac_address\n" | 1771 | "\tIFNAME MACADDR\tnew_interface_name interface_mac_address\n" |
| 1772 | #define nameif_example_usage \ | 1772 | #define nameif_example_usage \ |
| 1773 | "$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \ | 1773 | "$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \ |
| 1774 | " or\n" \ | 1774 | " or\n" \ |
| 1775 | "$ nameif -c /etc/my_mactab_file\n" \ | 1775 | "$ nameif -c /etc/my_mactab_file\n" \ |
| 1776 | 1776 | ||
| 1777 | #define nc_trivial_usage \ | 1777 | #define nc_trivial_usage \ |
| 1778 | "[OPTIONS] [IP] [port]" | 1778 | "[OPTIONS] [IP] [port]" |
| 1779 | #define nc_full_usage \ | 1779 | #define nc_full_usage \ |
| 1780 | "Netcat opens a pipe to IP:port\n\n" \ | 1780 | "Netcat opens a pipe to IP:port\n\n" \ |
| 1781 | "Options:\n" \ | 1781 | "Options:\n" \ |
| @@ -1791,7 +1791,7 @@ | |||
| 1791 | "214- HELO EHLO MAIL RCPT DATA AUTH\n" \ | 1791 | "214- HELO EHLO MAIL RCPT DATA AUTH\n" \ |
| 1792 | "214 NOOP QUIT RSET HELP\n" \ | 1792 | "214 NOOP QUIT RSET HELP\n" \ |
| 1793 | "quit\n" \ | 1793 | "quit\n" \ |
| 1794 | "221 foobar closing connection\n" | 1794 | "221 foobar closing connection\n" |
| 1795 | 1795 | ||
| 1796 | #define netstat_trivial_usage \ | 1796 | #define netstat_trivial_usage \ |
| 1797 | "[-laenrtuwx]" | 1797 | "[-laenrtuwx]" |
| @@ -1817,7 +1817,7 @@ | |||
| 1817 | "Address: default\n" \ | 1817 | "Address: default\n" \ |
| 1818 | "\n" \ | 1818 | "\n" \ |
| 1819 | "Name: debian\n" \ | 1819 | "Name: debian\n" \ |
| 1820 | "Address: 127.0.0.1\n" | 1820 | "Address: 127.0.0.1\n" |
| 1821 | 1821 | ||
| 1822 | #define od_trivial_usage \ | 1822 | #define od_trivial_usage \ |
| 1823 | "[-aBbcDdeFfHhIiLlOovXx] [FILE]" | 1823 | "[-aBbcDdeFfHhIiLlOovXx] [FILE]" |
| @@ -1834,7 +1834,7 @@ | |||
| 1834 | 1834 | ||
| 1835 | #ifdef CONFIG_FEATURE_SHA1_PASSWORDS | 1835 | #ifdef CONFIG_FEATURE_SHA1_PASSWORDS |
| 1836 | #define PASSWORD_ALG_TYPES(a) a | 1836 | #define PASSWORD_ALG_TYPES(a) a |
| 1837 | #else | 1837 | #else |
| 1838 | #define PASSWORD_ALG_TYPES(a) | 1838 | #define PASSWORD_ALG_TYPES(a) |
| 1839 | #endif | 1839 | #endif |
| 1840 | #define passwd_trivial_usage \ | 1840 | #define passwd_trivial_usage \ |
| @@ -1891,7 +1891,7 @@ | |||
| 1891 | "\n" \ | 1891 | "\n" \ |
| 1892 | "--- debian ping statistics ---\n" \ | 1892 | "--- debian ping statistics ---\n" \ |
| 1893 | "1 packets transmitted, 1 packets received, 0% packet loss\n" \ | 1893 | "1 packets transmitted, 1 packets received, 0% packet loss\n" \ |
| 1894 | "round-trip min/avg/max = 20.1/20.1/20.1 ms\n" | 1894 | "round-trip min/avg/max = 20.1/20.1/20.1 ms\n" |
| 1895 | 1895 | ||
| 1896 | #ifndef CONFIG_FEATURE_FANCY_PING6 | 1896 | #ifndef CONFIG_FEATURE_FANCY_PING6 |
| 1897 | #define ping6_trivial_usage "host" | 1897 | #define ping6_trivial_usage "host" |
| @@ -1914,7 +1914,7 @@ | |||
| 1914 | "\n" \ | 1914 | "\n" \ |
| 1915 | "--- ip6-localhost ping statistics ---\n" \ | 1915 | "--- ip6-localhost ping statistics ---\n" \ |
| 1916 | "1 packets transmitted, 1 packets received, 0% packet loss\n" \ | 1916 | "1 packets transmitted, 1 packets received, 0% packet loss\n" \ |
| 1917 | "round-trip min/avg/max = 20.1/20.1/20.1 ms\n" | 1917 | "round-trip min/avg/max = 20.1/20.1/20.1 ms\n" |
| 1918 | 1918 | ||
| 1919 | #define pivot_root_trivial_usage \ | 1919 | #define pivot_root_trivial_usage \ |
| 1920 | "NEW_ROOT PUT_OLD" | 1920 | "NEW_ROOT PUT_OLD" |
| @@ -1934,14 +1934,14 @@ | |||
| 1934 | "Where FORMAT controls the output exactly as in C printf." | 1934 | "Where FORMAT controls the output exactly as in C printf." |
| 1935 | #define printf_example_usage \ | 1935 | #define printf_example_usage \ |
| 1936 | "$ printf "Val=%d\\n" 5\n" \ | 1936 | "$ printf "Val=%d\\n" 5\n" \ |
| 1937 | "Val=5\n" | 1937 | "Val=5\n" |
| 1938 | 1938 | ||
| 1939 | #define ps_trivial_usage \ | 1939 | #define ps_trivial_usage \ |
| 1940 | "" | 1940 | "" |
| 1941 | #define ps_full_usage \ | 1941 | #define ps_full_usage \ |
| 1942 | "Report process status\n" \ | 1942 | "Report process status\n" \ |
| 1943 | USAGE_SELINUX("\nOptions:\n\t-c\tshow SE Linux context", "\nThis version of ps accepts no options.") | 1943 | USAGE_SELINUX("\nOptions:\n\t-c\tshow SE Linux context", "\nThis version of ps accepts no options.") |
| 1944 | 1944 | ||
| 1945 | #define ps_example_usage \ | 1945 | #define ps_example_usage \ |
| 1946 | "$ ps\n" \ | 1946 | "$ ps\n" \ |
| 1947 | " PID Uid Gid State Command\n" \ | 1947 | " PID Uid Gid State Command\n" \ |
| @@ -1968,7 +1968,7 @@ | |||
| 1968 | #define raid_start_full_usage \ | 1968 | #define raid_start_full_usage \ |
| 1969 | "Start MD_DEVICE, taking superblock from DISK_DEVICE.\n" \ | 1969 | "Start MD_DEVICE, taking superblock from DISK_DEVICE.\n" \ |
| 1970 | "Example: raid_start /dev/md0 /dev/sdb" | 1970 | "Example: raid_start /dev/md0 /dev/sdb" |
| 1971 | 1971 | ||
| 1972 | #define rdate_trivial_usage \ | 1972 | #define rdate_trivial_usage \ |
| 1973 | "[-sp] HOST" | 1973 | "[-sp] HOST" |
| 1974 | #define rdate_full_usage \ | 1974 | #define rdate_full_usage \ |
| @@ -1986,7 +1986,7 @@ | |||
| 1986 | "pathname ..." | 1986 | "pathname ..." |
| 1987 | #define realpath_full_usage \ | 1987 | #define realpath_full_usage \ |
| 1988 | "return the canonicalized absolute pathnames of given arguments\n\n" | 1988 | "return the canonicalized absolute pathnames of given arguments\n\n" |
| 1989 | 1989 | ||
| 1990 | #define reboot_trivial_usage \ | 1990 | #define reboot_trivial_usage \ |
| 1991 | "" | 1991 | "" |
| 1992 | #define reboot_full_usage \ | 1992 | #define reboot_full_usage \ |
| @@ -2136,12 +2136,12 @@ | |||
| 2136 | #define USAGE_FANCY_SLEEP(a) a | 2136 | #define USAGE_FANCY_SLEEP(a) a |
| 2137 | #define USAGE_NOT_FANCY_SLEEP(a) | 2137 | #define USAGE_NOT_FANCY_SLEEP(a) |
| 2138 | #else | 2138 | #else |
| 2139 | #define USAGE_FANCY_SLEEP(a) | 2139 | #define USAGE_FANCY_SLEEP(a) |
| 2140 | #define USAGE_NOT_FANCY_SLEEP(a) a | 2140 | #define USAGE_NOT_FANCY_SLEEP(a) a |
| 2141 | #endif | 2141 | #endif |
| 2142 | 2142 | ||
| 2143 | #define sleep_trivial_usage \ | 2143 | #define sleep_trivial_usage \ |
| 2144 | USAGE_FANCY_SLEEP("[") "N" USAGE_FANCY_SLEEP("]...") | 2144 | USAGE_FANCY_SLEEP("[") "N" USAGE_FANCY_SLEEP("]...") |
| 2145 | #define sleep_full_usage \ | 2145 | #define sleep_full_usage \ |
| 2146 | USAGE_NOT_FANCY_SLEEP("Pause for N seconds.") \ | 2146 | USAGE_NOT_FANCY_SLEEP("Pause for N seconds.") \ |
| 2147 | USAGE_FANCY_SLEEP( \ | 2147 | USAGE_FANCY_SLEEP( \ |
| @@ -2253,7 +2253,7 @@ | |||
| 2253 | #ifdef CONFIG_FEATURE_ROTATE_LOGFILE | 2253 | #ifdef CONFIG_FEATURE_ROTATE_LOGFILE |
| 2254 | #define USAGE_ROTATE_LOGFILE(a) a | 2254 | #define USAGE_ROTATE_LOGFILE(a) a |
| 2255 | #else | 2255 | #else |
| 2256 | #define USAGE_ROTATE_LOGFILE(a) | 2256 | #define USAGE_ROTATE_LOGFILE(a) |
| 2257 | #endif | 2257 | #endif |
| 2258 | #ifdef CONFIG_FEATURE_REMOTE_LOG | 2258 | #ifdef CONFIG_FEATURE_REMOTE_LOG |
| 2259 | #define USAGE_REMOTE_LOG(a) a | 2259 | #define USAGE_REMOTE_LOG(a) a |
| @@ -2472,7 +2472,7 @@ | |||
| 2472 | ) \ | 2472 | ) \ |
| 2473 | USAGE_TFTP_BS( \ | 2473 | USAGE_TFTP_BS( \ |
| 2474 | "\t-b SIZE\tTransfer blocks of SIZE octets.\n" \ | 2474 | "\t-b SIZE\tTransfer blocks of SIZE octets.\n" \ |
| 2475 | ) | 2475 | ) |
| 2476 | #define time_trivial_usage \ | 2476 | #define time_trivial_usage \ |
| 2477 | "[OPTION]... COMMAND [ARGS...]" | 2477 | "[OPTION]... COMMAND [ARGS...]" |
| 2478 | #define time_full_usage \ | 2478 | #define time_full_usage \ |
| @@ -2501,7 +2501,7 @@ | |||
| 2501 | "/bin/ls: /tmp/foo: No such file or directory\n" \ | 2501 | "/bin/ls: /tmp/foo: No such file or directory\n" \ |
| 2502 | "$ touch /tmp/foo\n" \ | 2502 | "$ touch /tmp/foo\n" \ |
| 2503 | "$ ls -l /tmp/foo\n" \ | 2503 | "$ ls -l /tmp/foo\n" \ |
| 2504 | "-rw-rw-r-- 1 andersen andersen 0 Apr 15 01:11 /tmp/foo\n" | 2504 | "-rw-rw-r-- 1 andersen andersen 0 Apr 15 01:11 /tmp/foo\n" |
| 2505 | 2505 | ||
| 2506 | #define tr_trivial_usage \ | 2506 | #define tr_trivial_usage \ |
| 2507 | "[-cds] STRING1 [STRING2]" | 2507 | "[-cds] STRING1 [STRING2]" |
| @@ -2514,7 +2514,7 @@ | |||
| 2514 | "\t-s\tsqueeze multiple output characters of STRING2 into one character" | 2514 | "\t-s\tsqueeze multiple output characters of STRING2 into one character" |
| 2515 | #define tr_example_usage \ | 2515 | #define tr_example_usage \ |
| 2516 | "$ echo "gdkkn vnqkc" | tr [a-y] [b-z]\n" \ | 2516 | "$ echo "gdkkn vnqkc" | tr [a-y] [b-z]\n" \ |
| 2517 | "hello world\n" | 2517 | "hello world\n" |
| 2518 | 2518 | ||
| 2519 | #define traceroute_trivial_usage \ | 2519 | #define traceroute_trivial_usage \ |
| 2520 | "[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n\ | 2520 | "[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n\ |
| @@ -2610,7 +2610,7 @@ | |||
| 2610 | "\t-v\tprint the operating system version" | 2610 | "\t-v\tprint the operating system version" |
| 2611 | #define uname_example_usage \ | 2611 | #define uname_example_usage \ |
| 2612 | "$ uname -a\n" \ | 2612 | "$ uname -a\n" \ |
| 2613 | "Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown\n" | 2613 | "Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown\n" |
| 2614 | 2614 | ||
| 2615 | #define uncompress_trivial_usage \ | 2615 | #define uncompress_trivial_usage \ |
| 2616 | "[-c] [-f] [ name ... ]" | 2616 | "[-c] [-f] [ name ... ]" |
| @@ -2619,7 +2619,7 @@ | |||
| 2619 | "Options:\n" \ | 2619 | "Options:\n" \ |
| 2620 | "\t-c\textract to stdout\n" \ | 2620 | "\t-c\textract to stdout\n" \ |
| 2621 | "\t-f\tforce overwrite an existing file\n" | 2621 | "\t-f\tforce overwrite an existing file\n" |
| 2622 | 2622 | ||
| 2623 | #define uniq_trivial_usage \ | 2623 | #define uniq_trivial_usage \ |
| 2624 | "[OPTION]... [INPUT [OUTPUT]]" | 2624 | "[OPTION]... [INPUT [OUTPUT]]" |
| 2625 | #define uniq_full_usage \ | 2625 | #define uniq_full_usage \ |
| @@ -2666,10 +2666,10 @@ | |||
| 2666 | "Display the time since the last boot." | 2666 | "Display the time since the last boot." |
| 2667 | #define uptime_example_usage \ | 2667 | #define uptime_example_usage \ |
| 2668 | "$ uptime\n" \ | 2668 | "$ uptime\n" \ |
| 2669 | " 1:55pm up 2:30, load average: 0.09, 0.04, 0.00\n" | 2669 | " 1:55pm up 2:30, load average: 0.09, 0.04, 0.00\n" |
| 2670 | 2670 | ||
| 2671 | #define usleep_trivial_usage \ | 2671 | #define usleep_trivial_usage \ |
| 2672 | "N" | 2672 | "N" |
| 2673 | #define usleep_full_usage \ | 2673 | #define usleep_full_usage \ |
| 2674 | "Pause for N microseconds." | 2674 | "Pause for N microseconds." |
| 2675 | #define usleep_example_usage \ | 2675 | #define usleep_example_usage \ |
| @@ -2681,11 +2681,11 @@ | |||
| 2681 | #define uudecode_full_usage \ | 2681 | #define uudecode_full_usage \ |
| 2682 | "Uudecode a file that is uuencoded.\n\n" \ | 2682 | "Uudecode a file that is uuencoded.\n\n" \ |
| 2683 | "Options:\n" \ | 2683 | "Options:\n" \ |
| 2684 | "\t-o FILE\tdirect output to FILE" | 2684 | "\t-o FILE\tdirect output to FILE" |
| 2685 | #define uudecode_example_usage \ | 2685 | #define uudecode_example_usage \ |
| 2686 | "$ uudecode -o busybox busybox.uu\n" \ | 2686 | "$ uudecode -o busybox busybox.uu\n" \ |
| 2687 | "$ ls -l busybox\n" \ | 2687 | "$ ls -l busybox\n" \ |
| 2688 | "-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox\n" | 2688 | "-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox\n" |
| 2689 | 2689 | ||
| 2690 | #define uuencode_trivial_usage \ | 2690 | #define uuencode_trivial_usage \ |
| 2691 | "[OPTION] [INFILE] REMOTEFILE" | 2691 | "[OPTION] [INFILE] REMOTEFILE" |
| @@ -2709,14 +2709,14 @@ | |||
| 2709 | " set_flag [interface-name] [flag-num] [0 | 1] \n" \ | 2709 | " set_flag [interface-name] [flag-num] [0 | 1] \n" \ |
| 2710 | " set_egress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ | 2710 | " set_egress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ |
| 2711 | " set_ingress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ | 2711 | " set_ingress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ |
| 2712 | " set_name_type [name-type] \n" | 2712 | " set_name_type [name-type] \n" |
| 2713 | 2713 | ||
| 2714 | #define vi_trivial_usage \ | 2714 | #define vi_trivial_usage \ |
| 2715 | "[OPTION] [FILE]..." | 2715 | "[OPTION] [FILE]..." |
| 2716 | #define vi_full_usage \ | 2716 | #define vi_full_usage \ |
| 2717 | "edit FILE.\n\n" \ | 2717 | "edit FILE.\n\n" \ |
| 2718 | "Options:\n" \ | 2718 | "Options:\n" \ |
| 2719 | "\t-R\tRead-only- do not write to the file." | 2719 | "\t-R\tRead-only- do not write to the file." |
| 2720 | 2720 | ||
| 2721 | #define vlock_trivial_usage \ | 2721 | #define vlock_trivial_usage \ |
| 2722 | "[OPTIONS]" | 2722 | "[OPTIONS]" |
| @@ -2730,12 +2730,12 @@ | |||
| 2730 | #define watch_full_usage \ | 2730 | #define watch_full_usage \ |
| 2731 | "Executes a program periodically.\n" \ | 2731 | "Executes a program periodically.\n" \ |
| 2732 | "Options:\n" \ | 2732 | "Options:\n" \ |
| 2733 | "\t-n\tLoop period in seconds - default is 2." | 2733 | "\t-n\tLoop period in seconds - default is 2." |
| 2734 | #define watch_example_usage \ | 2734 | #define watch_example_usage \ |
| 2735 | "$ watch date\n" \ | 2735 | "$ watch date\n" \ |
| 2736 | "Mon Dec 17 10:31:40 GMT 2000\n" \ | 2736 | "Mon Dec 17 10:31:40 GMT 2000\n" \ |
| 2737 | "Mon Dec 17 10:31:42 GMT 2000\n" \ | 2737 | "Mon Dec 17 10:31:42 GMT 2000\n" \ |
| 2738 | "Mon Dec 17 10:31:44 GMT 2000" | 2738 | "Mon Dec 17 10:31:44 GMT 2000" |
| 2739 | 2739 | ||
| 2740 | #define watchdog_trivial_usage \ | 2740 | #define watchdog_trivial_usage \ |
| 2741 | "[-t <seconds>] DEV" | 2741 | "[-t <seconds>] DEV" |
| @@ -2756,7 +2756,7 @@ | |||
| 2756 | "\t-w\tprint the word counts" | 2756 | "\t-w\tprint the word counts" |
| 2757 | #define wc_example_usage \ | 2757 | #define wc_example_usage \ |
| 2758 | "$ wc /etc/passwd\n" \ | 2758 | "$ wc /etc/passwd\n" \ |
| 2759 | " 31 46 1365 /etc/passwd\n" | 2759 | " 31 46 1365 /etc/passwd\n" |
| 2760 | 2760 | ||
| 2761 | #define wget_trivial_usage \ | 2761 | #define wget_trivial_usage \ |
| 2762 | "[-c|--continue] [-q|--quiet] [-O|--output-document file]\n\t[--header 'header: value'] [-Y|--proxy on/off] [-P DIR] url" | 2762 | "[-c|--continue] [-q|--quiet] [-O|--output-document file]\n\t[--header 'header: value'] [-Y|--proxy on/off] [-P DIR] url" |
| @@ -2816,7 +2816,7 @@ | |||
| 2816 | "\t-t\tPrint the command line on stderr before executing it." | 2816 | "\t-t\tPrint the command line on stderr before executing it." |
| 2817 | #define xargs_example_usage \ | 2817 | #define xargs_example_usage \ |
| 2818 | "$ ls | xargs gzip\n" \ | 2818 | "$ ls | xargs gzip\n" \ |
| 2819 | "$ find . -name '*.c' -print | xargs rm\n" | 2819 | "$ find . -name '*.c' -print | xargs rm\n" |
| 2820 | 2820 | ||
| 2821 | #define yes_trivial_usage \ | 2821 | #define yes_trivial_usage \ |
| 2822 | "[OPTION]... [STRING]..." | 2822 | "[OPTION]... [STRING]..." |
