X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fusage.h;h=43b6f70484606f05d1705218c99b0aa3fbf5ecc5;hb=8cbaa450305f771825dc9cd4a326fcec352264d2;hp=9227025b28053c9a0f84424c33e9d49d707044d8;hpb=078bacf1e92fb8e9c44e020aca6d1c2a9362a24b;p=oweals%2Fbusybox.git diff --git a/include/usage.h b/include/usage.h index 9227025b2..43b6f7048 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1498,6 +1498,22 @@ "$ length Hello\n" \ "5\n" +#define less_trivial_usage \ + "[-EMNmh~?] FILE1 FILE2..." +#define less_full_usage \ + "View a file or list of files. The position within files can be\n" \ + "changed, and files can be manipulated in various ways with the\n" \ + "following options:\n\n" \ + "\t-E\tQuit once the end of a file is reached\n" \ + "\t-M\tDisplay a status line containing the current line numbers\n" \ + "\t\tand the percentage through the file\n" \ + "\t-N\tPrefix line numbers to each line\n" \ + "\t-m\tDisplay a status line containing the percentage through the\n" \ + "\t\tfile\n" \ + "\t-~\tSuppress ~s displayed when input past the end of the file is\n" \ + "\t\treached.\n" \ + "\t-h, -?\tDisplay this help message\n" + #define ln_trivial_usage \ "[OPTION] TARGET... LINK_NAME|DIRECTORY" #define ln_full_usage \ @@ -2619,14 +2635,14 @@ "\t-s\tuse System V sum algorithm (512byte blocks)" #define swapoff_trivial_usage \ - "[OPTION] [DEVICE]" + "[-a] [DEVICE]" #define swapoff_full_usage \ "Stop swapping virtual memory pages on DEVICE.\n\n" \ "Options:\n" \ "\t-a\tStop swapping on all swap devices" #define swapon_trivial_usage \ - "[OPTION] [DEVICE]" + "[-a] [DEVICE]" #define swapon_full_usage \ "Start swapping virtual memory pages on DEVICE.\n\n" \ "Options:\n" \ @@ -2654,24 +2670,22 @@ # define USAGE_IPC_LOG(a) #endif -#ifdef CONFIG_SYSCTL #define sysctl_trivial_usage \ "[OPTIONS]... [VALUE]..." -#define sysctl_full_usage - "sysctl - configure kernel parameters at runtime\n\n" \ +#define sysctl_full_usage \ + "configure kernel parameters at runtime\n\n" \ "Options:\n" \ "\t-n\tUse this option to disable printing of the key name when printing values\n" \ "\t-w\tUse this option when you want to change a sysctl setting\n" \ "\t-p\tLoad in sysctl settings from the file specified or /etc/sysctl.conf if none given\n" \ "\t-a\tDisplay all values currently available\n" \ "\t-A\tDisplay all values currently available in table form" -#define sysctl_example_usage +#define sysctl_example_usage \ "sysctl [-n] variable ...\n" \ "sysctl [-n] -w variable=value ...\n" \ "sysctl [-n] -a\n" \ "sysctl [-n] -p \t(default /etc/sysctl.conf)\n" \ "sysctl [-n] -A\n" -#endif #define syslogd_trivial_usage \ "[OPTION]..." @@ -2921,12 +2935,16 @@ "hello world\n" #define traceroute_trivial_usage \ - "[-dnrv] [-m max_ttl] [-p port#] [-q nqueries]\n" \ - "\t[-s src_addr] [-t tos] [-w wait] host [data size]" + "[-FIldnrv] [-f 1st_ttl] [-m max_ttl] [-p port#] [-q nqueries]\n" \ + "\t[-s src_addr] [-t tos] [-w wait] [-g gateway] [-i iface]\n" \ + "\t[-z pausemsecs] host [data size]" #define traceroute_full_usage \ "trace the route ip packets follow going to \"host\"\n" \ "Options:\n" \ - "\t-d\tset SO_DEBUG options to socket\n" \ + "\t-F\tSet the don't fragment bit\n" \ + "\t-I\tUse ICMP ECHO instead of UDP datagrams\n" \ + "\t-l\tDisplay the ttl value of the returned packet\n" \ + "\t-d\tSet SO_DEBUG options to socket\n" \ "\t-n\tPrint hop addresses numerically rather than symbolically\n" \ "\t-r\tBypass the normal routing tables and send directly to a host\n" \ "\t-v\tVerbose output\n" \ @@ -2939,7 +2957,8 @@ "\t-t tos\tSet the type-of-service in probe packets to the following value\n" \ "\t\t(default 0)\n" \ "\t-w wait\tSet the time (in seconds) to wait for a response to a probe\n" \ - "\t\t(default 3 sec.)" + "\t\t(default 3 sec.)\n" \ + "\t-g\tSpecify a loose source route gateway (8 maximum)" #define true_trivial_usage \ @@ -3036,7 +3055,7 @@ "\t-f\tforce overwrite an existing file" #define uniq_trivial_usage \ - "[OPTION]... [INPUT [OUTPUT]]" + "[-fscdu]... [INPUT [OUTPUT]]" #define uniq_full_usage \ "Discard all but one of successive identical lines from INPUT\n" \ "(or standard input), writing to OUTPUT (or standard output).\n\n" \