ws, show date setting format
This commit is contained in:
parent
f980bd5848
commit
7b253f8c72
104
include/usage.h
104
include/usage.h
@ -211,7 +211,7 @@
|
|||||||
"\tt\t\tlist\n" \
|
"\tt\t\tlist\n" \
|
||||||
"\tu\t\tunconditional overwrite\n" \
|
"\tu\t\tunconditional overwrite\n" \
|
||||||
"\tF\t\tinput from file"
|
"\tF\t\tinput from file"
|
||||||
|
|
||||||
#define crond_trivial_usage \
|
#define crond_trivial_usage \
|
||||||
"-d[#] -c <crondir> -f -b"
|
"-d[#] -c <crondir> -f -b"
|
||||||
#define crond_full_usage \
|
#define crond_full_usage \
|
||||||
@ -260,7 +260,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define date_trivial_usage \
|
#define date_trivial_usage \
|
||||||
"[OPTION]... [+FORMAT]"
|
"[OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]"
|
||||||
#define date_full_usage \
|
#define date_full_usage \
|
||||||
"Displays the current time in the given FORMAT, or sets the system date.\n" \
|
"Displays the current time in the given FORMAT, or sets the system date.\n" \
|
||||||
"\nOptions:\n" \
|
"\nOptions:\n" \
|
||||||
@ -362,7 +362,7 @@
|
|||||||
#define USAGE_HUMAN_READABLE(a) a
|
#define USAGE_HUMAN_READABLE(a) a
|
||||||
#define USAGE_NOT_HUMAN_READABLE(a)
|
#define USAGE_NOT_HUMAN_READABLE(a)
|
||||||
#else
|
#else
|
||||||
#define USAGE_HUMAN_READABLE(a)
|
#define USAGE_HUMAN_READABLE(a)
|
||||||
#define USAGE_NOT_HUMAN_READABLE(a) a
|
#define USAGE_NOT_HUMAN_READABLE(a) a
|
||||||
#endif
|
#endif
|
||||||
#define df_trivial_usage \
|
#define df_trivial_usage \
|
||||||
@ -496,7 +496,7 @@
|
|||||||
#ifdef CONFIG_FEATURE_FANCY_ECHO
|
#ifdef CONFIG_FEATURE_FANCY_ECHO
|
||||||
#define USAGE_FANCY_ECHO(a) a
|
#define USAGE_FANCY_ECHO(a) a
|
||||||
#else
|
#else
|
||||||
#define USAGE_FANCY_ECHO(a)
|
#define USAGE_FANCY_ECHO(a)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define echo_trivial_usage \
|
#define echo_trivial_usage \
|
||||||
@ -705,7 +705,7 @@
|
|||||||
"\t-v, --verbose Verbose\n" \
|
"\t-v, --verbose Verbose\n" \
|
||||||
"\t-u, --username Username to be used\n" \
|
"\t-u, --username Username to be used\n" \
|
||||||
"\t-p, --password Password to be used\n" \
|
"\t-p, --password Password to be used\n" \
|
||||||
"\t-P, --port Port number to be used\n"
|
"\t-P, --port Port number to be used\n"
|
||||||
|
|
||||||
#define ftpput_trivial_usage \
|
#define ftpput_trivial_usage \
|
||||||
"[options] remote-host remote-directory local-file"
|
"[options] remote-host remote-directory local-file"
|
||||||
@ -715,7 +715,7 @@
|
|||||||
"\t-v, --verbose Verbose\n" \
|
"\t-v, --verbose Verbose\n" \
|
||||||
"\t-u, --username Username to be used\n" \
|
"\t-u, --username Username to be used\n" \
|
||||||
"\t-p, --password Password to be used\n" \
|
"\t-p, --password Password to be used\n" \
|
||||||
"\t-P, --port Port number to be used\n"
|
"\t-P, --port Port number to be used\n"
|
||||||
|
|
||||||
#define getopt_trivial_usage \
|
#define getopt_trivial_usage \
|
||||||
"[OPTIONS]..."
|
"[OPTIONS]..."
|
||||||
@ -1104,7 +1104,7 @@
|
|||||||
"\t-v\tprint out what would happen before doing it\n" \
|
"\t-v\tprint out what would happen before doing it\n" \
|
||||||
"\t-m\tdon't run any mappings\n" \
|
"\t-m\tdon't run any mappings\n" \
|
||||||
"\t-f\tforce de/configuration\n"
|
"\t-f\tforce de/configuration\n"
|
||||||
|
|
||||||
#define inetd_trivial_usage \
|
#define inetd_trivial_usage \
|
||||||
"[-q len] [conf]"
|
"[-q len] [conf]"
|
||||||
#define inetd_full_usage \
|
#define inetd_full_usage \
|
||||||
@ -1300,7 +1300,7 @@
|
|||||||
"Options:\n" \
|
"Options:\n" \
|
||||||
"\t-b\t--broadcast\tDisplay calculated broadcast address.\n" \
|
"\t-b\t--broadcast\tDisplay calculated broadcast address.\n" \
|
||||||
"\t-n\t--netmask\tDisplay default netmask for IP.\n" \
|
"\t-n\t--netmask\tDisplay default netmask for IP.\n" \
|
||||||
"\t-w\t--network\tDisplay calculated network address."
|
"\t-w\t--network\tDisplay calculated network address."
|
||||||
#else
|
#else
|
||||||
#define ipcalc_trivial_usage \
|
#define ipcalc_trivial_usage \
|
||||||
"[OPTION]... ipaddr <netmask>"
|
"[OPTION]... ipaddr <netmask>"
|
||||||
@ -1312,7 +1312,7 @@
|
|||||||
"\t-n\t--netmask\tDisplay default netmask for IP.\n" \
|
"\t-n\t--netmask\tDisplay default netmask for IP.\n" \
|
||||||
"\t-w\t--network\tDisplay calculated network address.\n" \
|
"\t-w\t--network\tDisplay calculated network address.\n" \
|
||||||
"\t-h\t--hostname\tDisplay first resolved host name.\n" \
|
"\t-h\t--hostname\tDisplay first resolved host name.\n" \
|
||||||
"\t-s\t--silent\tDon't ever display error messages."
|
"\t-s\t--silent\tDon't ever display error messages."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ipcalc_notes_usage \
|
#define ipcalc_notes_usage \
|
||||||
@ -1375,7 +1375,7 @@
|
|||||||
"Options:\n" \
|
"Options:\n" \
|
||||||
"\t-l\tList all signal names and numbers."
|
"\t-l\tList all signal names and numbers."
|
||||||
#define killall_example_usage \
|
#define killall_example_usage \
|
||||||
"$ killall apache\n"
|
"$ killall apache\n"
|
||||||
|
|
||||||
#define klogd_trivial_usage \
|
#define klogd_trivial_usage \
|
||||||
"[-c n] [-n]"
|
"[-c n] [-n]"
|
||||||
@ -1405,21 +1405,21 @@
|
|||||||
#define ln_example_usage \
|
#define ln_example_usage \
|
||||||
"$ ln -s BusyBox /tmp/ls\n" \
|
"$ ln -s BusyBox /tmp/ls\n" \
|
||||||
"$ ls -l /tmp/ls\n" \
|
"$ ls -l /tmp/ls\n" \
|
||||||
"lrwxrwxrwx 1 root root 7 Apr 12 18:39 ls -> BusyBox*\n"
|
"lrwxrwxrwx 1 root root 7 Apr 12 18:39 ls -> BusyBox*\n"
|
||||||
|
|
||||||
#define loadfont_trivial_usage \
|
#define loadfont_trivial_usage \
|
||||||
"< font"
|
"< font"
|
||||||
#define loadfont_full_usage \
|
#define loadfont_full_usage \
|
||||||
"Loads a console font from standard input."
|
"Loads a console font from standard input."
|
||||||
#define loadfont_example_usage \
|
#define loadfont_example_usage \
|
||||||
"$ loadfont < /etc/i18n/fontname\n"
|
"$ loadfont < /etc/i18n/fontname\n"
|
||||||
|
|
||||||
#define loadkmap_trivial_usage \
|
#define loadkmap_trivial_usage \
|
||||||
"< keymap"
|
"< keymap"
|
||||||
#define loadkmap_full_usage \
|
#define loadkmap_full_usage \
|
||||||
"Loads a binary keyboard translation table from standard input."
|
"Loads a binary keyboard translation table from standard input."
|
||||||
#define loadkmap_example_usage \
|
#define loadkmap_example_usage \
|
||||||
"$ loadkmap < /etc/i18n/lang-keymap\n"
|
"$ loadkmap < /etc/i18n/lang-keymap\n"
|
||||||
|
|
||||||
#define logger_trivial_usage \
|
#define logger_trivial_usage \
|
||||||
"[OPTION]... [MESSAGE]"
|
"[OPTION]... [MESSAGE]"
|
||||||
@ -1431,7 +1431,7 @@
|
|||||||
"\t-p\tEnter the message with the specified priority.\n" \
|
"\t-p\tEnter the message with the specified priority.\n" \
|
||||||
"\t\tThis may be numerical or a ``facility.level'' pair."
|
"\t\tThis may be numerical or a ``facility.level'' pair."
|
||||||
#define logger_example_usage \
|
#define logger_example_usage \
|
||||||
"$ logger "hello"\n"
|
"$ logger "hello"\n"
|
||||||
|
|
||||||
#define login_trivial_usage \
|
#define login_trivial_usage \
|
||||||
"[OPTION]... [username] [ENV=VAR ...]"
|
"[OPTION]... [username] [ENV=VAR ...]"
|
||||||
@ -1448,7 +1448,7 @@
|
|||||||
"Print the name of the current user."
|
"Print the name of the current user."
|
||||||
#define logname_example_usage \
|
#define logname_example_usage \
|
||||||
"$ logname\n" \
|
"$ logname\n" \
|
||||||
"root\n"
|
"root\n"
|
||||||
|
|
||||||
#define logread_trivial_usage \
|
#define logread_trivial_usage \
|
||||||
"[OPTION]..."
|
"[OPTION]..."
|
||||||
@ -1553,7 +1553,7 @@
|
|||||||
"$ makedevs /dev/ttyS c 4 66 2 63\n" \
|
"$ makedevs /dev/ttyS c 4 66 2 63\n" \
|
||||||
"[creates ttyS2-ttyS63]\n" \
|
"[creates ttyS2-ttyS63]\n" \
|
||||||
"$ makedevs /dev/hda b 3 0 0 8 s\n" \
|
"$ makedevs /dev/hda b 3 0 0 8 s\n" \
|
||||||
"[creates hda,hda1-hda8]\n"
|
"[creates hda,hda1-hda8]\n"
|
||||||
|
|
||||||
#ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
|
#ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
|
||||||
#define USAGE_MD5_SHA1_SUM_CHECK(a) a
|
#define USAGE_MD5_SHA1_SUM_CHECK(a) a
|
||||||
@ -1608,7 +1608,7 @@
|
|||||||
"/tmp/foo: File exists\n" \
|
"/tmp/foo: File exists\n" \
|
||||||
"$ mkdir /tmp/foo/bar/baz\n" \
|
"$ mkdir /tmp/foo/bar/baz\n" \
|
||||||
"/tmp/foo/bar/baz: No such file or directory\n" \
|
"/tmp/foo/bar/baz: No such file or directory\n" \
|
||||||
"$ mkdir -p /tmp/foo/bar/baz\n"
|
"$ mkdir -p /tmp/foo/bar/baz\n"
|
||||||
|
|
||||||
#define mkfifo_trivial_usage \
|
#define mkfifo_trivial_usage \
|
||||||
"[OPTIONS] name"
|
"[OPTIONS] name"
|
||||||
@ -1640,7 +1640,7 @@
|
|||||||
"\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes."
|
"\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes."
|
||||||
#define mknod_example_usage \
|
#define mknod_example_usage \
|
||||||
"$ mknod /dev/fd0 b 2 0 \n" \
|
"$ mknod /dev/fd0 b 2 0 \n" \
|
||||||
"$ mknod -m 644 /tmp/pipe p\n"
|
"$ mknod -m 644 /tmp/pipe p\n"
|
||||||
|
|
||||||
#define mkswap_trivial_usage \
|
#define mkswap_trivial_usage \
|
||||||
"[-c] [-v0|-v1] device [block-count]"
|
"[-c] [-v0|-v1] device [block-count]"
|
||||||
@ -1661,21 +1661,21 @@
|
|||||||
"$ mktemp /tmp/temp.XXXXXX\n" \
|
"$ mktemp /tmp/temp.XXXXXX\n" \
|
||||||
"/tmp/temp.mWiLjM\n" \
|
"/tmp/temp.mWiLjM\n" \
|
||||||
"$ ls -la /tmp/temp.mWiLjM\n" \
|
"$ ls -la /tmp/temp.mWiLjM\n" \
|
||||||
"-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n"
|
"-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n"
|
||||||
|
|
||||||
#define modprobe_trivial_usage \
|
#define modprobe_trivial_usage \
|
||||||
"[FILE ...]"
|
"[FILE ...]"
|
||||||
#define modprobe_full_usage \
|
#define modprobe_full_usage \
|
||||||
"Used for high level module loading and unloading."
|
"Used for high level module loading and unloading."
|
||||||
#define modprobe_example_usage \
|
#define modprobe_example_usage \
|
||||||
"$ modprobe cdrom\n"
|
"$ modprobe cdrom\n"
|
||||||
|
|
||||||
#define more_trivial_usage \
|
#define more_trivial_usage \
|
||||||
"[FILE ...]"
|
"[FILE ...]"
|
||||||
#define more_full_usage \
|
#define more_full_usage \
|
||||||
"More is a filter for viewing FILE one screenful at a time."
|
"More is a filter for viewing FILE one screenful at a time."
|
||||||
#define more_example_usage \
|
#define more_example_usage \
|
||||||
"$ dmesg | more\n"
|
"$ dmesg | more\n"
|
||||||
|
|
||||||
#ifdef CONFIG_FEATURE_MOUNT_LOOP
|
#ifdef CONFIG_FEATURE_MOUNT_LOOP
|
||||||
#define USAGE_MOUNT_LOOP(a) a
|
#define USAGE_MOUNT_LOOP(a) a
|
||||||
@ -1722,7 +1722,7 @@
|
|||||||
"proc on /proc type proc (rw)\n" \
|
"proc on /proc type proc (rw)\n" \
|
||||||
"devpts on /dev/pts type devpts (rw)\n" \
|
"devpts on /dev/pts type devpts (rw)\n" \
|
||||||
"$ mount /dev/fd0 /mnt -t msdos -o ro\n" \
|
"$ mount /dev/fd0 /mnt -t msdos -o ro\n" \
|
||||||
"$ mount /tmp/diskimage /opt -t ext2 -o loop\n"
|
"$ mount /tmp/diskimage /opt -t ext2 -o loop\n"
|
||||||
|
|
||||||
#define msvc_trivial_usage \
|
#define msvc_trivial_usage \
|
||||||
"-[udorspchaitkx] service"
|
"-[udorspchaitkx] service"
|
||||||
@ -1759,7 +1759,7 @@
|
|||||||
#define mv_full_usage \
|
#define mv_full_usage \
|
||||||
"Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY."
|
"Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY."
|
||||||
#define mv_example_usage \
|
#define mv_example_usage \
|
||||||
"$ mv /tmp/foo /bin/bar\n"
|
"$ mv /tmp/foo /bin/bar\n"
|
||||||
|
|
||||||
#define nameif_trivial_usage \
|
#define nameif_trivial_usage \
|
||||||
"[-s] [-c FILE] [{IFNAME MACADDR}]"
|
"[-s] [-c FILE] [{IFNAME MACADDR}]"
|
||||||
@ -1768,14 +1768,14 @@
|
|||||||
"Options:\n" \
|
"Options:\n" \
|
||||||
"\t-c FILE\t\tUse configuration file (default is /etc/mactab)\n" \
|
"\t-c FILE\t\tUse configuration file (default is /etc/mactab)\n" \
|
||||||
"\t-s\t\tUse syslog (LOCAL0 facility).\n" \
|
"\t-s\t\tUse syslog (LOCAL0 facility).\n" \
|
||||||
"\tIFNAME MACADDR\tnew_interface_name interface_mac_address\n"
|
"\tIFNAME MACADDR\tnew_interface_name interface_mac_address\n"
|
||||||
#define nameif_example_usage \
|
#define nameif_example_usage \
|
||||||
"$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \
|
"$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \
|
||||||
" or\n" \
|
" or\n" \
|
||||||
"$ nameif -c /etc/my_mactab_file\n" \
|
"$ nameif -c /etc/my_mactab_file\n" \
|
||||||
|
|
||||||
#define nc_trivial_usage \
|
#define nc_trivial_usage \
|
||||||
"[OPTIONS] [IP] [port]"
|
"[OPTIONS] [IP] [port]"
|
||||||
#define nc_full_usage \
|
#define nc_full_usage \
|
||||||
"Netcat opens a pipe to IP:port\n\n" \
|
"Netcat opens a pipe to IP:port\n\n" \
|
||||||
"Options:\n" \
|
"Options:\n" \
|
||||||
@ -1791,7 +1791,7 @@
|
|||||||
"214- HELO EHLO MAIL RCPT DATA AUTH\n" \
|
"214- HELO EHLO MAIL RCPT DATA AUTH\n" \
|
||||||
"214 NOOP QUIT RSET HELP\n" \
|
"214 NOOP QUIT RSET HELP\n" \
|
||||||
"quit\n" \
|
"quit\n" \
|
||||||
"221 foobar closing connection\n"
|
"221 foobar closing connection\n"
|
||||||
|
|
||||||
#define netstat_trivial_usage \
|
#define netstat_trivial_usage \
|
||||||
"[-laenrtuwx]"
|
"[-laenrtuwx]"
|
||||||
@ -1817,7 +1817,7 @@
|
|||||||
"Address: default\n" \
|
"Address: default\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
"Name: debian\n" \
|
"Name: debian\n" \
|
||||||
"Address: 127.0.0.1\n"
|
"Address: 127.0.0.1\n"
|
||||||
|
|
||||||
#define od_trivial_usage \
|
#define od_trivial_usage \
|
||||||
"[-aBbcDdeFfHhIiLlOovXx] [FILE]"
|
"[-aBbcDdeFfHhIiLlOovXx] [FILE]"
|
||||||
@ -1834,7 +1834,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_FEATURE_SHA1_PASSWORDS
|
#ifdef CONFIG_FEATURE_SHA1_PASSWORDS
|
||||||
#define PASSWORD_ALG_TYPES(a) a
|
#define PASSWORD_ALG_TYPES(a) a
|
||||||
#else
|
#else
|
||||||
#define PASSWORD_ALG_TYPES(a)
|
#define PASSWORD_ALG_TYPES(a)
|
||||||
#endif
|
#endif
|
||||||
#define passwd_trivial_usage \
|
#define passwd_trivial_usage \
|
||||||
@ -1891,7 +1891,7 @@
|
|||||||
"\n" \
|
"\n" \
|
||||||
"--- debian ping statistics ---\n" \
|
"--- debian ping statistics ---\n" \
|
||||||
"1 packets transmitted, 1 packets received, 0% packet loss\n" \
|
"1 packets transmitted, 1 packets received, 0% packet loss\n" \
|
||||||
"round-trip min/avg/max = 20.1/20.1/20.1 ms\n"
|
"round-trip min/avg/max = 20.1/20.1/20.1 ms\n"
|
||||||
|
|
||||||
#ifndef CONFIG_FEATURE_FANCY_PING6
|
#ifndef CONFIG_FEATURE_FANCY_PING6
|
||||||
#define ping6_trivial_usage "host"
|
#define ping6_trivial_usage "host"
|
||||||
@ -1914,7 +1914,7 @@
|
|||||||
"\n" \
|
"\n" \
|
||||||
"--- ip6-localhost ping statistics ---\n" \
|
"--- ip6-localhost ping statistics ---\n" \
|
||||||
"1 packets transmitted, 1 packets received, 0% packet loss\n" \
|
"1 packets transmitted, 1 packets received, 0% packet loss\n" \
|
||||||
"round-trip min/avg/max = 20.1/20.1/20.1 ms\n"
|
"round-trip min/avg/max = 20.1/20.1/20.1 ms\n"
|
||||||
|
|
||||||
#define pivot_root_trivial_usage \
|
#define pivot_root_trivial_usage \
|
||||||
"NEW_ROOT PUT_OLD"
|
"NEW_ROOT PUT_OLD"
|
||||||
@ -1934,14 +1934,14 @@
|
|||||||
"Where FORMAT controls the output exactly as in C printf."
|
"Where FORMAT controls the output exactly as in C printf."
|
||||||
#define printf_example_usage \
|
#define printf_example_usage \
|
||||||
"$ printf "Val=%d\\n" 5\n" \
|
"$ printf "Val=%d\\n" 5\n" \
|
||||||
"Val=5\n"
|
"Val=5\n"
|
||||||
|
|
||||||
#define ps_trivial_usage \
|
#define ps_trivial_usage \
|
||||||
""
|
""
|
||||||
#define ps_full_usage \
|
#define ps_full_usage \
|
||||||
"Report process status\n" \
|
"Report process status\n" \
|
||||||
USAGE_SELINUX("\nOptions:\n\t-c\tshow SE Linux context", "\nThis version of ps accepts no options.")
|
USAGE_SELINUX("\nOptions:\n\t-c\tshow SE Linux context", "\nThis version of ps accepts no options.")
|
||||||
|
|
||||||
#define ps_example_usage \
|
#define ps_example_usage \
|
||||||
"$ ps\n" \
|
"$ ps\n" \
|
||||||
" PID Uid Gid State Command\n" \
|
" PID Uid Gid State Command\n" \
|
||||||
@ -1968,7 +1968,7 @@
|
|||||||
#define raid_start_full_usage \
|
#define raid_start_full_usage \
|
||||||
"Start MD_DEVICE, taking superblock from DISK_DEVICE.\n" \
|
"Start MD_DEVICE, taking superblock from DISK_DEVICE.\n" \
|
||||||
"Example: raid_start /dev/md0 /dev/sdb"
|
"Example: raid_start /dev/md0 /dev/sdb"
|
||||||
|
|
||||||
#define rdate_trivial_usage \
|
#define rdate_trivial_usage \
|
||||||
"[-sp] HOST"
|
"[-sp] HOST"
|
||||||
#define rdate_full_usage \
|
#define rdate_full_usage \
|
||||||
@ -1986,7 +1986,7 @@
|
|||||||
"pathname ..."
|
"pathname ..."
|
||||||
#define realpath_full_usage \
|
#define realpath_full_usage \
|
||||||
"return the canonicalized absolute pathnames of given arguments\n\n"
|
"return the canonicalized absolute pathnames of given arguments\n\n"
|
||||||
|
|
||||||
#define reboot_trivial_usage \
|
#define reboot_trivial_usage \
|
||||||
""
|
""
|
||||||
#define reboot_full_usage \
|
#define reboot_full_usage \
|
||||||
@ -2136,12 +2136,12 @@
|
|||||||
#define USAGE_FANCY_SLEEP(a) a
|
#define USAGE_FANCY_SLEEP(a) a
|
||||||
#define USAGE_NOT_FANCY_SLEEP(a)
|
#define USAGE_NOT_FANCY_SLEEP(a)
|
||||||
#else
|
#else
|
||||||
#define USAGE_FANCY_SLEEP(a)
|
#define USAGE_FANCY_SLEEP(a)
|
||||||
#define USAGE_NOT_FANCY_SLEEP(a) a
|
#define USAGE_NOT_FANCY_SLEEP(a) a
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define sleep_trivial_usage \
|
#define sleep_trivial_usage \
|
||||||
USAGE_FANCY_SLEEP("[") "N" USAGE_FANCY_SLEEP("]...")
|
USAGE_FANCY_SLEEP("[") "N" USAGE_FANCY_SLEEP("]...")
|
||||||
#define sleep_full_usage \
|
#define sleep_full_usage \
|
||||||
USAGE_NOT_FANCY_SLEEP("Pause for N seconds.") \
|
USAGE_NOT_FANCY_SLEEP("Pause for N seconds.") \
|
||||||
USAGE_FANCY_SLEEP( \
|
USAGE_FANCY_SLEEP( \
|
||||||
@ -2253,7 +2253,7 @@
|
|||||||
#ifdef CONFIG_FEATURE_ROTATE_LOGFILE
|
#ifdef CONFIG_FEATURE_ROTATE_LOGFILE
|
||||||
#define USAGE_ROTATE_LOGFILE(a) a
|
#define USAGE_ROTATE_LOGFILE(a) a
|
||||||
#else
|
#else
|
||||||
#define USAGE_ROTATE_LOGFILE(a)
|
#define USAGE_ROTATE_LOGFILE(a)
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_FEATURE_REMOTE_LOG
|
#ifdef CONFIG_FEATURE_REMOTE_LOG
|
||||||
#define USAGE_REMOTE_LOG(a) a
|
#define USAGE_REMOTE_LOG(a) a
|
||||||
@ -2472,7 +2472,7 @@
|
|||||||
) \
|
) \
|
||||||
USAGE_TFTP_BS( \
|
USAGE_TFTP_BS( \
|
||||||
"\t-b SIZE\tTransfer blocks of SIZE octets.\n" \
|
"\t-b SIZE\tTransfer blocks of SIZE octets.\n" \
|
||||||
)
|
)
|
||||||
#define time_trivial_usage \
|
#define time_trivial_usage \
|
||||||
"[OPTION]... COMMAND [ARGS...]"
|
"[OPTION]... COMMAND [ARGS...]"
|
||||||
#define time_full_usage \
|
#define time_full_usage \
|
||||||
@ -2501,7 +2501,7 @@
|
|||||||
"/bin/ls: /tmp/foo: No such file or directory\n" \
|
"/bin/ls: /tmp/foo: No such file or directory\n" \
|
||||||
"$ touch /tmp/foo\n" \
|
"$ touch /tmp/foo\n" \
|
||||||
"$ ls -l /tmp/foo\n" \
|
"$ ls -l /tmp/foo\n" \
|
||||||
"-rw-rw-r-- 1 andersen andersen 0 Apr 15 01:11 /tmp/foo\n"
|
"-rw-rw-r-- 1 andersen andersen 0 Apr 15 01:11 /tmp/foo\n"
|
||||||
|
|
||||||
#define tr_trivial_usage \
|
#define tr_trivial_usage \
|
||||||
"[-cds] STRING1 [STRING2]"
|
"[-cds] STRING1 [STRING2]"
|
||||||
@ -2514,7 +2514,7 @@
|
|||||||
"\t-s\tsqueeze multiple output characters of STRING2 into one character"
|
"\t-s\tsqueeze multiple output characters of STRING2 into one character"
|
||||||
#define tr_example_usage \
|
#define tr_example_usage \
|
||||||
"$ echo "gdkkn vnqkc" | tr [a-y] [b-z]\n" \
|
"$ echo "gdkkn vnqkc" | tr [a-y] [b-z]\n" \
|
||||||
"hello world\n"
|
"hello world\n"
|
||||||
|
|
||||||
#define traceroute_trivial_usage \
|
#define traceroute_trivial_usage \
|
||||||
"[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n\
|
"[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n\
|
||||||
@ -2610,7 +2610,7 @@
|
|||||||
"\t-v\tprint the operating system version"
|
"\t-v\tprint the operating system version"
|
||||||
#define uname_example_usage \
|
#define uname_example_usage \
|
||||||
"$ uname -a\n" \
|
"$ uname -a\n" \
|
||||||
"Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown\n"
|
"Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown\n"
|
||||||
|
|
||||||
#define uncompress_trivial_usage \
|
#define uncompress_trivial_usage \
|
||||||
"[-c] [-f] [ name ... ]"
|
"[-c] [-f] [ name ... ]"
|
||||||
@ -2619,7 +2619,7 @@
|
|||||||
"Options:\n" \
|
"Options:\n" \
|
||||||
"\t-c\textract to stdout\n" \
|
"\t-c\textract to stdout\n" \
|
||||||
"\t-f\tforce overwrite an existing file\n"
|
"\t-f\tforce overwrite an existing file\n"
|
||||||
|
|
||||||
#define uniq_trivial_usage \
|
#define uniq_trivial_usage \
|
||||||
"[OPTION]... [INPUT [OUTPUT]]"
|
"[OPTION]... [INPUT [OUTPUT]]"
|
||||||
#define uniq_full_usage \
|
#define uniq_full_usage \
|
||||||
@ -2666,10 +2666,10 @@
|
|||||||
"Display the time since the last boot."
|
"Display the time since the last boot."
|
||||||
#define uptime_example_usage \
|
#define uptime_example_usage \
|
||||||
"$ uptime\n" \
|
"$ uptime\n" \
|
||||||
" 1:55pm up 2:30, load average: 0.09, 0.04, 0.00\n"
|
" 1:55pm up 2:30, load average: 0.09, 0.04, 0.00\n"
|
||||||
|
|
||||||
#define usleep_trivial_usage \
|
#define usleep_trivial_usage \
|
||||||
"N"
|
"N"
|
||||||
#define usleep_full_usage \
|
#define usleep_full_usage \
|
||||||
"Pause for N microseconds."
|
"Pause for N microseconds."
|
||||||
#define usleep_example_usage \
|
#define usleep_example_usage \
|
||||||
@ -2681,11 +2681,11 @@
|
|||||||
#define uudecode_full_usage \
|
#define uudecode_full_usage \
|
||||||
"Uudecode a file that is uuencoded.\n\n" \
|
"Uudecode a file that is uuencoded.\n\n" \
|
||||||
"Options:\n" \
|
"Options:\n" \
|
||||||
"\t-o FILE\tdirect output to FILE"
|
"\t-o FILE\tdirect output to FILE"
|
||||||
#define uudecode_example_usage \
|
#define uudecode_example_usage \
|
||||||
"$ uudecode -o busybox busybox.uu\n" \
|
"$ uudecode -o busybox busybox.uu\n" \
|
||||||
"$ ls -l busybox\n" \
|
"$ ls -l busybox\n" \
|
||||||
"-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox\n"
|
"-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox\n"
|
||||||
|
|
||||||
#define uuencode_trivial_usage \
|
#define uuencode_trivial_usage \
|
||||||
"[OPTION] [INFILE] REMOTEFILE"
|
"[OPTION] [INFILE] REMOTEFILE"
|
||||||
@ -2709,14 +2709,14 @@
|
|||||||
" set_flag [interface-name] [flag-num] [0 | 1] \n" \
|
" set_flag [interface-name] [flag-num] [0 | 1] \n" \
|
||||||
" set_egress_map [vlan-name] [skb_priority] [vlan_qos] \n" \
|
" set_egress_map [vlan-name] [skb_priority] [vlan_qos] \n" \
|
||||||
" set_ingress_map [vlan-name] [skb_priority] [vlan_qos] \n" \
|
" set_ingress_map [vlan-name] [skb_priority] [vlan_qos] \n" \
|
||||||
" set_name_type [name-type] \n"
|
" set_name_type [name-type] \n"
|
||||||
|
|
||||||
#define vi_trivial_usage \
|
#define vi_trivial_usage \
|
||||||
"[OPTION] [FILE]..."
|
"[OPTION] [FILE]..."
|
||||||
#define vi_full_usage \
|
#define vi_full_usage \
|
||||||
"edit FILE.\n\n" \
|
"edit FILE.\n\n" \
|
||||||
"Options:\n" \
|
"Options:\n" \
|
||||||
"\t-R\tRead-only- do not write to the file."
|
"\t-R\tRead-only- do not write to the file."
|
||||||
|
|
||||||
#define vlock_trivial_usage \
|
#define vlock_trivial_usage \
|
||||||
"[OPTIONS]"
|
"[OPTIONS]"
|
||||||
@ -2730,12 +2730,12 @@
|
|||||||
#define watch_full_usage \
|
#define watch_full_usage \
|
||||||
"Executes a program periodically.\n" \
|
"Executes a program periodically.\n" \
|
||||||
"Options:\n" \
|
"Options:\n" \
|
||||||
"\t-n\tLoop period in seconds - default is 2."
|
"\t-n\tLoop period in seconds - default is 2."
|
||||||
#define watch_example_usage \
|
#define watch_example_usage \
|
||||||
"$ watch date\n" \
|
"$ watch date\n" \
|
||||||
"Mon Dec 17 10:31:40 GMT 2000\n" \
|
"Mon Dec 17 10:31:40 GMT 2000\n" \
|
||||||
"Mon Dec 17 10:31:42 GMT 2000\n" \
|
"Mon Dec 17 10:31:42 GMT 2000\n" \
|
||||||
"Mon Dec 17 10:31:44 GMT 2000"
|
"Mon Dec 17 10:31:44 GMT 2000"
|
||||||
|
|
||||||
#define watchdog_trivial_usage \
|
#define watchdog_trivial_usage \
|
||||||
"[-t <seconds>] DEV"
|
"[-t <seconds>] DEV"
|
||||||
@ -2756,7 +2756,7 @@
|
|||||||
"\t-w\tprint the word counts"
|
"\t-w\tprint the word counts"
|
||||||
#define wc_example_usage \
|
#define wc_example_usage \
|
||||||
"$ wc /etc/passwd\n" \
|
"$ wc /etc/passwd\n" \
|
||||||
" 31 46 1365 /etc/passwd\n"
|
" 31 46 1365 /etc/passwd\n"
|
||||||
|
|
||||||
#define wget_trivial_usage \
|
#define wget_trivial_usage \
|
||||||
"[-c|--continue] [-q|--quiet] [-O|--output-document file]\n\t[--header 'header: value'] [-Y|--proxy on/off] [-P DIR] url"
|
"[-c|--continue] [-q|--quiet] [-O|--output-document file]\n\t[--header 'header: value'] [-Y|--proxy on/off] [-P DIR] url"
|
||||||
@ -2816,7 +2816,7 @@
|
|||||||
"\t-t\tPrint the command line on stderr before executing it."
|
"\t-t\tPrint the command line on stderr before executing it."
|
||||||
#define xargs_example_usage \
|
#define xargs_example_usage \
|
||||||
"$ ls | xargs gzip\n" \
|
"$ ls | xargs gzip\n" \
|
||||||
"$ find . -name '*.c' -print | xargs rm\n"
|
"$ find . -name '*.c' -print | xargs rm\n"
|
||||||
|
|
||||||
#define yes_trivial_usage \
|
#define yes_trivial_usage \
|
||||||
"[OPTION]... [STRING]..."
|
"[OPTION]... [STRING]..."
|
||||||
|
Loading…
Reference in New Issue
Block a user