diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-11 10:07:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-11 10:07:24 +0000 |
commit | f9566d8c29a820e94f194a9ac303c912899e6c8a (patch) | |
tree | c49fc5b045dc9c350d335a4e3844a8c728ca46b4 | |
parent | 15cb4a42724e480734157a55921ba435ed1413fc (diff) | |
download | busybox-w32-f9566d8c29a820e94f194a9ac303c912899e6c8a.tar.gz busybox-w32-f9566d8c29a820e94f194a9ac303c912899e6c8a.tar.bz2 busybox-w32-f9566d8c29a820e94f194a9ac303c912899e6c8a.zip |
trim too verbose help texts
-rw-r--r-- | include/usage.h | 73 |
1 files changed, 36 insertions, 37 deletions
diff --git a/include/usage.h b/include/usage.h index 7d316c737..b53820d7b 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -670,9 +670,9 @@ | |||
670 | #define dmesg_full_usage \ | 670 | #define dmesg_full_usage \ |
671 | "Print or control the kernel ring buffer" \ | 671 | "Print or control the kernel ring buffer" \ |
672 | "\n\nOptions:\n" \ | 672 | "\n\nOptions:\n" \ |
673 | " -c Clears the ring buffer's contents after printing\n" \ | 673 | " -c Clear ring buffer after printing\n" \ |
674 | " -n LEVEL Sets console logging level\n" \ | 674 | " -n LEVEL Set console logging level\n" \ |
675 | " -s SIZE Use a buffer of size SIZE" | 675 | " -s SIZE Buffer size" |
676 | 676 | ||
677 | #define dnsd_trivial_usage \ | 677 | #define dnsd_trivial_usage \ |
678 | "[-c config] [-t seconds] [-p port] [-i iface-ip] [-d]" | 678 | "[-c config] [-t seconds] [-p port] [-i iface-ip] [-d]" |
@@ -859,19 +859,19 @@ | |||
859 | #define expr_full_usage \ | 859 | #define expr_full_usage \ |
860 | "Print the value of EXPRESSION to standard output.\n\n" \ | 860 | "Print the value of EXPRESSION to standard output.\n\n" \ |
861 | "EXPRESSION may be:\n" \ | 861 | "EXPRESSION may be:\n" \ |
862 | " ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ | 862 | " ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ |
863 | " ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n" \ | 863 | " ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n" \ |
864 | " ARG1 < ARG2 ARG1 is less than ARG2\n" \ | 864 | " ARG1 < ARG2 1 if ARG1 is less than ARG2, else 0. Similarly:\n" \ |
865 | " ARG1 <= ARG2 ARG1 is less than or equal to ARG2\n" \ | 865 | " ARG1 <= ARG2\n" \ |
866 | " ARG1 = ARG2 ARG1 is equal to ARG2\n" \ | 866 | " ARG1 = ARG2\n" \ |
867 | " ARG1 != ARG2 ARG1 is unequal to ARG2\n" \ | 867 | " ARG1 != ARG2\n" \ |
868 | " ARG1 >= ARG2 ARG1 is greater than or equal to ARG2\n" \ | 868 | " ARG1 >= ARG2\n" \ |
869 | " ARG1 > ARG2 ARG1 is greater than ARG2\n" \ | 869 | " ARG1 > ARG2\n" \ |
870 | " ARG1 + ARG2 Sum of ARG1 and ARG2\n" \ | 870 | " ARG1 + ARG2 Sum of ARG1 and ARG2. Similarly:\n" \ |
871 | " ARG1 - ARG2 Difference of ARG1 and ARG2\n" \ | 871 | " ARG1 - ARG2\n" \ |
872 | " ARG1 * ARG2 Product of ARG1 and ARG2\n" \ | 872 | " ARG1 * ARG2\n" \ |
873 | " ARG1 / ARG2 Quotient of ARG1 divided by ARG2\n" \ | 873 | " ARG1 / ARG2\n" \ |
874 | " ARG1 % ARG2 Remainder of ARG1 divided by ARG2\n" \ | 874 | " ARG1 % ARG2\n" \ |
875 | " STRING : REGEXP Anchored pattern match of REGEXP in STRING\n" \ | 875 | " STRING : REGEXP Anchored pattern match of REGEXP in STRING\n" \ |
876 | " match STRING REGEXP Same as STRING : REGEXP\n" \ | 876 | " match STRING REGEXP Same as STRING : REGEXP\n" \ |
877 | " substr STRING POS LENGTH Substring of STRING, POS counted from 1\n" \ | 877 | " substr STRING POS LENGTH Substring of STRING, POS counted from 1\n" \ |
@@ -1055,12 +1055,12 @@ | |||
1055 | #define fsck_minix_full_usage \ | 1055 | #define fsck_minix_full_usage \ |
1056 | "Perform a consistency check for MINIX filesystems" \ | 1056 | "Perform a consistency check for MINIX filesystems" \ |
1057 | "\n\nOptions:\n" \ | 1057 | "\n\nOptions:\n" \ |
1058 | " -l Lists all filenames\n" \ | 1058 | " -l List all filenames\n" \ |
1059 | " -r Perform interactive repairs\n" \ | 1059 | " -r Perform interactive repairs\n" \ |
1060 | " -a Perform automatic repairs\n" \ | 1060 | " -a Perform automatic repairs\n" \ |
1061 | " -v Verbose\n" \ | 1061 | " -v Verbose\n" \ |
1062 | " -s Outputs super-block information\n" \ | 1062 | " -s Output super-block information\n" \ |
1063 | " -m Activates MINIX-like \"mode not cleared\" warnings\n" \ | 1063 | " -m Activate MINIX-like \"mode not cleared\" warnings\n" \ |
1064 | " -f Force file system check" | 1064 | " -f Force file system check" |
1065 | 1065 | ||
1066 | #define ftpget_trivial_usage \ | 1066 | #define ftpget_trivial_usage \ |
@@ -2205,7 +2205,7 @@ | |||
2205 | #define modprobe_full_usage \ | 2205 | #define modprobe_full_usage \ |
2206 | "Options:\n" \ | 2206 | "Options:\n" \ |
2207 | " -k Make module autoclean-able\n" \ | 2207 | " -k Make module autoclean-able\n" \ |
2208 | " -n Just show what would be done\n" \ | 2208 | " -n Dry run\n" \ |
2209 | " -q Quiet\n" \ | 2209 | " -q Quiet\n" \ |
2210 | " -r Remove module (stacks) or do autoclean\n" \ | 2210 | " -r Remove module (stacks) or do autoclean\n" \ |
2211 | " -s Report via syslog instead of stderr\n" \ | 2211 | " -s Report via syslog instead of stderr\n" \ |
@@ -2284,15 +2284,14 @@ | |||
2284 | "\n\nOptions:\n" \ | 2284 | "\n\nOptions:\n" \ |
2285 | " -a Mount all filesystems in fstab\n" \ | 2285 | " -a Mount all filesystems in fstab\n" \ |
2286 | USE_FEATURE_MTAB_SUPPORT( \ | 2286 | USE_FEATURE_MTAB_SUPPORT( \ |
2287 | " -f \"Fake\" Add entry to mount table but don't mount it\n" \ | 2287 | " -f Update /etc/mtab, but don't mount\n" \ |
2288 | " -n Don't write a mount table entry\n" \ | 2288 | " -n Don't update /etc/mtab\n" \ |
2289 | ) \ | 2289 | ) \ |
2290 | " -o option One of many filesystem options, listed below\n" \ | 2290 | " -r Read-only mount\n" \ |
2291 | " -r Mount the filesystem read-only\n" \ | ||
2292 | " -t fs-type Filesystem type\n" \ | 2291 | " -t fs-type Filesystem type\n" \ |
2293 | " -w Mount for reading and writing (default)\n" \ | 2292 | " -w Read-write mount (default)\n" \ |
2294 | "\n" \ | 2293 | "\n" \ |
2295 | "Options for use with the \"-o\" flag:\n" \ | 2294 | "-o option:\n" \ |
2296 | USE_FEATURE_MOUNT_LOOP( \ | 2295 | USE_FEATURE_MOUNT_LOOP( \ |
2297 | " loop Ignored (loop devices are autodetected)\n" \ | 2296 | " loop Ignored (loop devices are autodetected)\n" \ |
2298 | ) \ | 2297 | ) \ |
@@ -2427,7 +2426,7 @@ | |||
2427 | USE_NC_SERVER( \ | 2426 | USE_NC_SERVER( \ |
2428 | "-l Listen mode, for inbound connects\n" \ | 2427 | "-l Listen mode, for inbound connects\n" \ |
2429 | ) \ | 2428 | ) \ |
2430 | "-n Do not do DNS resolution" \ | 2429 | "-n Don't do DNS resolution" \ |
2431 | "\n-s addr Local address" \ | 2430 | "\n-s addr Local address" \ |
2432 | "\n-p port Local port" \ | 2431 | "\n-p port Local port" \ |
2433 | "\n-u UDP mode" \ | 2432 | "\n-u UDP mode" \ |
@@ -2812,7 +2811,7 @@ | |||
2812 | #define renice_full_usage \ | 2811 | #define renice_full_usage \ |
2813 | "Change priority of running processes" \ | 2812 | "Change priority of running processes" \ |
2814 | "\n\nOptions:\n" \ | 2813 | "\n\nOptions:\n" \ |
2815 | " -n Adjusts current nice value (smaller is faster)\n" \ | 2814 | " -n Adjust current nice value (smaller is faster)\n" \ |
2816 | " -p Process id(s) (default)\n" \ | 2815 | " -p Process id(s) (default)\n" \ |
2817 | " -g Process group id(s)\n" \ | 2816 | " -g Process group id(s)\n" \ |
2818 | " -u Process user name(s) and/or id(s)" | 2817 | " -u Process user name(s) and/or id(s)" |
@@ -3257,10 +3256,10 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3257 | #define strings_full_usage \ | 3256 | #define strings_full_usage \ |
3258 | "Display printable strings in a binary file" \ | 3257 | "Display printable strings in a binary file" \ |
3259 | "\n\nOptions:" \ | 3258 | "\n\nOptions:" \ |
3260 | "\n -a Scan the whole files (this is the default)" \ | 3259 | "\n -a Scan whole file (default)" \ |
3261 | "\n -f Precede each string with the name of the file where it was found" \ | 3260 | "\n -f Precede strings with filenames" \ |
3262 | "\n -n N Specifies that at least N characters forms a sequence (default 4)" \ | 3261 | "\n -n N At least N characters form a string (default 4)" \ |
3263 | "\n -o Each string is preceded by its decimal offset in the file" | 3262 | "\n -o Precede strings with decimal offsets" |
3264 | 3263 | ||
3265 | #define stty_trivial_usage \ | 3264 | #define stty_trivial_usage \ |
3266 | "[-a|g] [-F DEVICE] [SETTING]..." | 3265 | "[-a|g] [-F DEVICE] [SETTING]..." |
@@ -3352,11 +3351,11 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3352 | #define sysctl_full_usage \ | 3351 | #define sysctl_full_usage \ |
3353 | "Configure kernel parameters at runtime" \ | 3352 | "Configure kernel parameters at runtime" \ |
3354 | "\n\nOptions:\n" \ | 3353 | "\n\nOptions:\n" \ |
3355 | " -n Use this option to disable printing of the key name when printing values\n" \ | 3354 | " -n Disable printing of key names\n" \ |
3356 | " -w Use this option when you want to change a sysctl setting\n" \ | 3355 | " -w Change sysctl setting\n" \ |
3357 | " -p Load in sysctl settings from the file specified or /etc/sysctl.conf if none given\n" \ | 3356 | " -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)\n" \ |
3358 | " -a Display all values currently available\n" \ | 3357 | " -a Display all values\n" \ |
3359 | " -A Display all values currently available in table form" | 3358 | " -A Display all values in table form" |
3360 | #define sysctl_example_usage \ | 3359 | #define sysctl_example_usage \ |
3361 | "sysctl [-n] variable ...\n" \ | 3360 | "sysctl [-n] variable ...\n" \ |
3362 | "sysctl [-n] -w variable=value ...\n" \ | 3361 | "sysctl [-n] -w variable=value ...\n" \ |