diff options
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 172 |
1 files changed, 171 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index 63aff31..2fd5953 100644 --- a/include/usage.h +++ b/include/usage.h @@ -470,6 +470,14 @@ "\n -2 Suppress lines unique to FILE2" \ "\n -3 Suppress lines common to both files" \ +#define condmv_trivial_usage \ + "[-A <string to append>][-f] FILE1 FILE2" +#define condmv_full_usage "\n\n" \ + "Rename FILE1 to FILE2 if FILE2 does not exist\n" \ + "\nOptions:" \ + "\n -A <string> Append <string> before renaming FILE1" \ + "\n -f Force. Move even if FILE2 does exist" \ + #define bbconfig_trivial_usage \ "" #define bbconfig_full_usage "\n\n" \ @@ -602,6 +610,7 @@ "\n -d TIME Display TIME, not 'now'" \ "\n -r FILE Display last modification time of FILE" \ "\n [-s] TIME Set time to TIME" \ + "\n -S Interpret TIME as Unix seconds since epoch" \ USE_FEATURE_DATE_ISOFMT( \ "\n -D FMT Use FMT for str->date conversion" \ ) \ @@ -749,6 +758,12 @@ "Filesystem 512-blocks Used Available Capacity Mounted on\n" \ "/dev/sda3 17381728 17107080 274648 98% /\n" +#define dfrm_trivial_usage \ + "<fs> <min-size> <dir>..." + +#define dfrm_full_usage \ + "<fs> <min-size> <dir>..." + #define dhcprelay_trivial_usage \ "[client1,client2,...] [server_device]" #define dhcprelay_full_usage "\n\n" \ @@ -965,6 +980,37 @@ "\n -, -i Start with an empty environment" \ "\n -u Remove variable from the environment" \ +#define eooqd_trivial_usage \ + "<queue-file>" +#define eooqd_full_usage \ + +#define eperd_trivial_usage \ + "-fbSAD -P pidfile -l N " USE_FEATURE_CROND_D("-d N ") "-L LOGFILE -c DIR" +#define eperd_full_usage "\n\n" \ + " -f Foreground" \ + "\n -b Background (default)" \ + "\n -S Log to syslog (default)" \ + "\n -l Set log level. 0 is the most verbose, default 8" \ + USE_FEATURE_CROND_D( \ + "\n -d Set log level, log to stderr" \ + ) \ + "\n -L Log to file" \ + "\n -c Working dir" \ + "\n -A Atlas specific processing" \ + "\n -D Periodically kick watchdog" \ + "\n -P pidfile to use" \ + +#define evtdig_trivial_usage \ + "[-h|-i|-b|-s] ... <server IP address>" +#define evtdig_full_usage "\n\n" \ + "evtdig: a tiny implemention dns queries which supports 4 queries\n" \ + "\n not implemented: recursion" \ + "\n -h | --hostname-bind hostname.bind txt chaos " \ + "\n -i | id-server id.server txt chaos " \ + "\n -b | version-bind version-bind txt chaos " \ + "\n -s | soa <zone> to be implmented " \ + "\n RIPE NCC 2011 " \ + #define ether_wake_trivial_usage \ "[-b] [-i iface] [-p aa:bb:cc:dd[:ee:ff]] MAC" #define ether_wake_full_usage "\n\n" \ @@ -976,6 +1022,44 @@ "\n -i iface Interface to use (default eth0)" \ "\n -p pass Append four or six byte password PW to the packet" \ +#define evhttpget_trivial_usage \ + "[-ac0146] [--all [--combine]] [--get|--head|--post] [--post-file <file>] [--post-header <file>] [--post-footer <file>] [--store-headers <bytes>] [--user-agent <string>] [-A <atlas id>] [-O <file>]" +#define evhttpget_full_usage "\n\n" \ + "\nOptions:" \ + "\n -a --all Report on all addresses" \ + "\n -c --combine Combine the reports for all address in one JSON" \ + "\n --get GET method" \ + "\n --head HEAD method" \ + "\n --post POST mehod" \ + "\n --post-file <filename> File to post" \ + "\n --post-header <fn> File to post (comes first)" \ + "\n --post-footer <fn> File to post (comes last)" \ + "\n --store-headers <bytes> Number of bytes of the header to store"\ + "\n --user-agent <string> User agent header" \ + "\n -0 HTTP/1.0" \ + "\n -1 HTTP/1.1" \ + "\n -A <atlas id> Atlas ID" \ + "\n -O <filename> Output file" \ + "\n -4 Only IPv4 addresses" \ + "\n -6 Only IPv6 addresses" \ + +#define evping_trivial_usage \ + "todo" +#define evping_full_usage "\n\n" \ + "\nOptions:" \ + "\n -c <count> Number of packets" \ + "\n -s <size> Size" \ + "\n -A <id> Atlas measurement ID" \ + "\n -O <out file> Output file name" \ + "\n -4 IPv4" \ + "\n -6 IPv6" \ + "todo" + +#define evtraceroute_trivial_usage \ + "todo" +#define evtraceroute_full_usage "\n\n" \ + "todo" + #define expand_trivial_usage \ "[-i] [-t NUM] [FILE|-]" #define expand_full_usage "\n\n" \ @@ -1577,6 +1661,55 @@ "\n -e STRING HTML encode STRING" \ "\n -d STRING URL decode STRING" \ +#define httpget_trivial_usage \ + "[--append] [--delete-file] [--get|--head|--post] " \ + "[--post-file FILE] [--post-dir DIR] " \ + "[--post-header FILE] " \ + "[--post-footer FILE] [--set-time bound] " \ + "[--store-headers SIZE] [--store-body SIZE] [--summary] " \ + "[--user-agent STRING] [-0|-1] [-4|-6] [-A STRING] [-O FILE] URL" +#define httpget_full_usage "\n\n" \ +"Interact with a HTTP server using GET/HEAD/POST commands\n" \ +"\nOptions:" \ +"\n --append Append data to output file" \ +"\n --defile-file Delete files after they have been posted" \ +"\n --get HTTP GET command (default)" \ +"\n --head HTTP HEAD command" \ +"\n --post HTTP POST command" \ +"\n --post-file FILE Post this file" \ +"\n --post-dir DIR Post all files in this directory" \ +"\n --post-header FILE First post this file and do not delete it" \ +"\n --post-footer FILE Post this file last and do not delete it" \ +"\n --set-time bound Parse the time in the HTTP reply and set the" \ +"\n system time if it exceeds bound (in seconds)" \ +"\n --store-headers SIZE Write this amount of headers to the output" \ +"\n --store-body SIZE Write this amount of body to the output" \ +"\n --summary Write the summary output" \ +"\n --user-agent STRING Set the user-agent header to STRING" \ +"\n -0 Send the request using http/1.0" \ +"\n -1 Send the request using http/1.1 (default)" \ +"\n -4 Connect only over IPv4" \ +"\n -6 Connect only over IPv6" \ +"\n -A STRING Format the output for Atlas using STRING" \ +"\n -O FILE Write the body of the HTTP reply to FILE" + +#define httppost_trivial_usage \ + "[--delete-file] [--post-file FILE] [--post-dir DIR] " \ + "[--post-header FILE] " \ + "[--post-footer FILE] [--set-time bound] " \ + "[-O FILE] URL" +#define httppost_full_usage "\n\n" \ +"Post file using the HTTP POST command\n" \ +"\nOptions:" \ +"\n --defile-file Delete files after they have been posted" \ +"\n --post-file FILE Post this file" \ +"\n --post-dir DIR Post all files in this directory" \ +"\n --post-header FILE First post this file and do not delete it" \ +"\n --post-footer FILE Post this file last and do not delete it" \ +"\n --set-time bound Parse the time in the HTTP reply and set the" \ +"\n system time if it exceeds bound (in seconds)" \ +"\n -O FILE Write the body of the HTTP reply to FILE" + #define hwclock_trivial_usage \ USE_FEATURE_HWCLOCK_LONG_OPTIONS( \ "[-r|--show] [-s|--hctosys] [-w|--systohc]" \ @@ -2983,6 +3116,23 @@ "$ patch -p1 < example.diff\n" \ "$ patch -p0 -i example.diff" +#define perd_trivial_usage \ + "-fbSAD -P pidfile -l N " USE_FEATURE_CROND_D("-d N ") "-L LOGFILE -c DIR" +#define perd_full_usage "\n\n" \ + " -f Foreground" \ + "\n -b Background (default)" \ + "\n -S Log to syslog (default)" \ + "\n -l Set log level. 0 is the most verbose, default 8" \ + USE_FEATURE_CROND_D( \ + "\n -d Set log level, log to stderr" \ + ) \ + "\n -L Log to file" \ + "\n -c Working dir" \ + "\n -A Atlas specific processing" \ + "\n -D Periodically kick watchdog" \ + "\n -P pidfile to use" \ + + #define pgrep_trivial_usage \ "[-flnovx] pattern" #define pgrep_full_usage "\n\n" \ @@ -3394,6 +3544,10 @@ #define rpm2cpio_full_usage "\n\n" \ "Output a cpio archive of the rpm file" +#define rptra6_trivial_usage \ + +#define rptra6_full_usage "\n\n" \ + #define rtcwake_trivial_usage \ "[-a | -l | -u] [-d DEV] [-m MODE] [-s SECS | -t TIME]" #define rtcwake_full_usage "\n\n" \ @@ -3493,6 +3647,13 @@ #define rx_example_usage \ "$ rx /tmp/foo\n" +#define rxtxrpt_trivial_usage \ + "[-A STRING] [ipv6-info-cache]" + +#define rxtxrpt_full_usage "\n\n" \ + "Display RX and TX statistics as well as IPv6 info\n" \ + "\n -A STRING Use Atlas format with STRING" \ + #define script_trivial_usage \ "[-afq] [-c COMMAND] [OUTFILE]" #define script_full_usage "\n\n" \ @@ -3768,6 +3929,15 @@ "$ split TODO foo\n" \ "$ cat TODO | split -a 2 -l 2 TODO_\n" +#define sslgetcert_trivial_usage \ + "-[46] [-A <id>] [-p <port>] <hostname>" +#define sslgetcert_full_usage "\n\n" \ + "\nOptions:" \ + "\n -A <id> Atlas measurement ID" \ + "\n -p <port> Port (default https)" \ + "\n -4 IPv4" \ + "\n -6 IPv6" \ + #define start_stop_daemon_trivial_usage \ "[OPTIONS] [-S|-K] ... [-- arguments...]" #define start_stop_daemon_full_usage "\n\n" \ @@ -4322,7 +4492,7 @@ "hello world\n" #define traceroute_trivial_usage \ - "[-FIldnrv] [-f 1st_ttl] [-m max_ttl] [-p port#] [-q nqueries]\n" \ + "[-FIldnrv46] [-f 1st_ttl] [-m max_ttl] [-p port#] [-q nqueries]\n" \ " [-s src_addr] [-t tos] [-w wait] [-g gateway] [-i iface]\n" \ " [-z pausemsecs] HOST [data size]" #define traceroute_full_usage "\n\n" \ |