diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-02-23 10:07:09 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-02-23 10:07:09 +0000 |
| commit | a0cfe94c4ecb23c4cdece337577d9310b7d676bf (patch) | |
| tree | 4c11a9687b22589ac51e46f9c5d667a74f6b93a0 /include | |
| parent | b83ffafc15d05d2d55982d9a60bd2252cbbfad1d (diff) | |
| download | busybox-w32-a0cfe94c4ecb23c4cdece337577d9310b7d676bf.tar.gz busybox-w32-a0cfe94c4ecb23c4cdece337577d9310b7d676bf.tar.bz2 busybox-w32-a0cfe94c4ecb23c4cdece337577d9310b7d676bf.zip | |
More usage cleanups from kent robotti. I know some of these were
applied previously but apparently lost with some of the latest changes.
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/include/usage.h b/include/usage.h index 64da92da0..7cfa4601b 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -79,12 +79,12 @@ | |||
| 79 | #define cut_full_usage \ | 79 | #define cut_full_usage \ |
| 80 | "Prints selected fields from each input FILE to standard output.\n\n" \ | 80 | "Prints selected fields from each input FILE to standard output.\n\n" \ |
| 81 | "Options:\n" \ | 81 | "Options:\n" \ |
| 82 | "\t-b LIST\tOutput only bytes from LIST\n" \ | 82 | "\t-b LIST\t\tOutput only bytes from LIST\n" \ |
| 83 | "\t-c LIST\tOutput only characters from LIST\n" \ | 83 | "\t-c LIST\t\tOutput only characters from LIST\n" \ |
| 84 | "\t-d CHAR\tUse CHAR instead of tab as the field delimiter\n" \ | 84 | "\t-d CHAR\t\tUse CHAR instead of tab as the field delimiter\n" \ |
| 85 | "\t-s\tOutput only the lines containing delimiter\n" \ | 85 | "\t-s\t\tOutput only the lines containing delimiter\n" \ |
| 86 | "\t-f N\tPrint only these fields\n" \ | 86 | "\t-f N\t\tPrint only these fields\n" \ |
| 87 | "\t-n\tIgnored" | 87 | "\t-n\t\tIgnored" |
| 88 | 88 | ||
| 89 | #define date_trivial_usage \ | 89 | #define date_trivial_usage \ |
| 90 | "[OPTION]... [+FORMAT]\n" | 90 | "[OPTION]... [+FORMAT]\n" |
| @@ -105,15 +105,15 @@ | |||
| 105 | 105 | ||
| 106 | #define dd_trivial_usage \ | 106 | #define dd_trivial_usage \ |
| 107 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N]\n" \ | 107 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N]\n" \ |
| 108 | "[seek=N] [conv=notrunc|sync]" | 108 | "\t [seek=N] [conv=notrunc|sync]" |
| 109 | #define dd_full_usage \ | 109 | #define dd_full_usage \ |
| 110 | "Copy a file, converting and formatting according to options\n\n" \ | 110 | "Copy a file, converting and formatting according to options\n\n" \ |
| 111 | "\tif=FILE\tread from FILE instead of stdin\n" \ | 111 | "\tif=FILE\t\tread from FILE instead of stdin\n" \ |
| 112 | "\tof=FILE\twrite to FILE instead of stdout\n" \ | 112 | "\tof=FILE\t\twrite to FILE instead of stdout\n" \ |
| 113 | "\tbs=N\tread and write N bytes at a time\n" \ | 113 | "\tbs=N\t\tread and write N bytes at a time\n" \ |
| 114 | "\tcount=N\tcopy only N input blocks\n" \ | 114 | "\tcount=N\t\tcopy only N input blocks\n" \ |
| 115 | "\tskip=N\tskip N input blocks\n" \ | 115 | "\tskip=N\t\tskip N input blocks\n" \ |
| 116 | "\tseek=N\tskip N output blocks\n" \ | 116 | "\tseek=N\t\tskip N output blocks\n" \ |
| 117 | "\tconv=notrunc\tdon't truncate output file\n" \ | 117 | "\tconv=notrunc\tdon't truncate output file\n" \ |
| 118 | "\tconv=sync\tpad blocks with zeros\n" \ | 118 | "\tconv=sync\tpad blocks with zeros\n" \ |
| 119 | "\n" \ | 119 | "\n" \ |
| @@ -223,27 +223,27 @@ | |||
| 223 | #define expr_full_usage \ | 223 | #define expr_full_usage \ |
| 224 | "Prints the value of EXPRESSION to standard output.\n\n" \ | 224 | "Prints the value of EXPRESSION to standard output.\n\n" \ |
| 225 | "EXPRESSION may be:\n" \ | 225 | "EXPRESSION may be:\n" \ |
| 226 | "ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ | 226 | "\tARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2\n" \ |
| 227 | "ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n" \ | 227 | "\tARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0\n" \ |
| 228 | "ARG1 < ARG2 ARG1 is less than ARG2\n" \ | 228 | "\tARG1 < ARG2 ARG1 is less than ARG2\n" \ |
| 229 | "ARG1 <= ARG2 ARG1 is less than or equal to ARG2\n" \ | 229 | "\tARG1 <= ARG2 ARG1 is less than or equal to ARG2\n" \ |
| 230 | "ARG1 = ARG2 ARG1 is equal to ARG2\n" \ | 230 | "\tARG1 = ARG2 ARG1 is equal to ARG2\n" \ |
| 231 | "ARG1 != ARG2 ARG1 is unequal to ARG2\n" \ | 231 | "\tARG1 != ARG2 ARG1 is unequal to ARG2\n" \ |
| 232 | "ARG1 >= ARG2 ARG1 is greater than or equal to ARG2\n" \ | 232 | "\tARG1 >= ARG2 ARG1 is greater than or equal to ARG2\n" \ |
| 233 | "ARG1 > ARG2 ARG1 is greater than ARG2\n" \ | 233 | "\tARG1 > ARG2 ARG1 is greater than ARG2\n" \ |
| 234 | "ARG1 + ARG2 arithmetic sum of ARG1 and ARG2\n" \ | 234 | "\tARG1 + ARG2 arithmetic sum of ARG1 and ARG2\n" \ |
| 235 | "ARG1 - ARG2 arithmetic difference of ARG1 and ARG2\n" \ | 235 | "\tARG1 - ARG2 arithmetic difference of ARG1 and ARG2\n" \ |
| 236 | "ARG1 * ARG2 arithmetic product of ARG1 and ARG2\n" \ | 236 | "\tARG1 * ARG2 arithmetic product of ARG1 and ARG2\n" \ |
| 237 | "ARG1 / ARG2 arithmetic quotient of ARG1 divided by ARG2\n" \ | 237 | "\tARG1 / ARG2 arithmetic quotient of ARG1 divided by ARG2\n" \ |
| 238 | "ARG1 % ARG2 arithmetic remainder of ARG1 divided by ARG2\n" \ | 238 | "\tARG1 % ARG2 arithmetic remainder of ARG1 divided by ARG2\n" \ |
| 239 | "STRING : REGEXP anchored pattern match of REGEXP in STRING\n" \ | 239 | "\tSTRING : REGEXP anchored pattern match of REGEXP in STRING\n" \ |
| 240 | "match STRING REGEXP same as STRING : REGEXP\n" \ | 240 | "\tmatch STRING REGEXP same as STRING : REGEXP\n" \ |
| 241 | "substr STRING POS LENGTH substring of STRING, POS counted from 1\n" \ | 241 | "\tsubstr STRING POS LENGTH substring of STRING, POS counted from 1\n" \ |
| 242 | "index STRING CHARS index in STRING where any CHARS is found, or 0\n" \ | 242 | "\tindex STRING CHARS index in STRING where any CHARS is found, or 0\n" \ |
| 243 | "length STRING length of STRING\n" \ | 243 | "\tlength STRING length of STRING\n" \ |
| 244 | "quote TOKEN interpret TOKEN as a string, even if it is a \n" \ | 244 | "\tquote TOKEN interpret TOKEN as a string, even if it is a \n" \ |
| 245 | " keyword like `match' or an operator like `/'\n" \ | 245 | "\t keyword like `match' or an operator like `/'\n" \ |
| 246 | "( EXPRESSION ) value of EXPRESSION\n\n" \ | 246 | "\t( EXPRESSION ) value of EXPRESSION\n\n" \ |
| 247 | "Beware that many operators need to be escaped or quoted for shells.\n" \ | 247 | "Beware that many operators need to be escaped or quoted for shells.\n" \ |
| 248 | "Comparisons are arithmetic if both ARGs are numbers, else\n" \ | 248 | "Comparisons are arithmetic if both ARGs are numbers, else\n" \ |
| 249 | "lexicographical. Pattern matches return the string matched between \n" \ | 249 | "lexicographical. Pattern matches return the string matched between \n" \ |
| @@ -280,7 +280,7 @@ | |||
| 280 | "[PATH...] [EXPRESSION]" | 280 | "[PATH...] [EXPRESSION]" |
| 281 | #define find_full_usage \ | 281 | #define find_full_usage \ |
| 282 | "Search for files in a directory hierarchy. The default PATH is\n" \ | 282 | "Search for files in a directory hierarchy. The default PATH is\n" \ |
| 283 | "the current directory; default EXPRESSION is '-print'\n\n" \ | 283 | "the current directory; default EXPRESSION is '-print'\n" \ |
| 284 | "\nEXPRESSION may consist of:\n" \ | 284 | "\nEXPRESSION may consist of:\n" \ |
| 285 | "\t-follow\t\tDereference symbolic links.\n" \ | 285 | "\t-follow\t\tDereference symbolic links.\n" \ |
| 286 | "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN." \ | 286 | "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN." \ |
| @@ -636,7 +636,7 @@ | |||
| 636 | "Options:\n" \ | 636 | "Options:\n" \ |
| 637 | "\t-c\t\tCheck for read-ability.\n" \ | 637 | "\t-c\t\tCheck for read-ability.\n" \ |
| 638 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" \ | 638 | "\t-v0\t\tMake version 0 swap [max 128 Megs].\n" \ |
| 639 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels > 2.1.117).\n" \ | 639 | "\t-v1\t\tMake version 1 swap [big!] (default for kernels >\n\t\t\t2.1.117).\n" \ |
| 640 | "\tblock-count\tNumber of block to use (default is entire partition)." | 640 | "\tblock-count\tNumber of block to use (default is entire partition)." |
| 641 | 641 | ||
| 642 | #define mktemp_trivial_usage \ | 642 | #define mktemp_trivial_usage \ |
| @@ -667,7 +667,7 @@ | |||
| 667 | "Flags:\n" \ | 667 | "Flags:\n" \ |
| 668 | "\t-a:\t\tMount all filesystems in fstab.\n" \ | 668 | "\t-a:\t\tMount all filesystems in fstab.\n" \ |
| 669 | USAGE_MTAB( \ | 669 | USAGE_MTAB( \ |
| 670 | "\t-f:\t\t\"Fake\" mount. Add entry to mount table but don't mount it.\n" \ | 670 | "\t-f:\t\t\"Fake\" Add entry to mount table but don't mount it.\n" \ |
| 671 | "\t-n:\t\tDon't write a mount table entry.\n" \ | 671 | "\t-n:\t\tDon't write a mount table entry.\n" \ |
| 672 | ) \ | 672 | ) \ |
| 673 | "\t-o option:\tOne of many filesystem options, listed below.\n" \ | 673 | "\t-o option:\tOne of many filesystem options, listed below.\n" \ |
| @@ -684,7 +684,7 @@ | |||
| 684 | "\tloop:\t\tMounts a file via loop device.\n" \ | 684 | "\tloop:\t\tMounts a file via loop device.\n" \ |
| 685 | ) \ | 685 | ) \ |
| 686 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" \ | 686 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" \ |
| 687 | "\tremount:\tRe-mount a currently-mounted filesystem, changing its flags.\n" \ | 687 | "\tremount:\tRe-mount a mounted filesystem, changing its flags.\n" \ |
| 688 | "\tro/rw:\t\tMount for read-only / read-write.\n" \ | 688 | "\tro/rw:\t\tMount for read-only / read-write.\n" \ |
| 689 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" \ | 689 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" \ |
| 690 | "You'll have to see the written documentation for those." | 690 | "You'll have to see the written documentation for those." |
| @@ -1050,7 +1050,7 @@ | |||
| 1050 | "[OPTION]... [INPUT [OUTPUT]]" | 1050 | "[OPTION]... [INPUT [OUTPUT]]" |
| 1051 | #define uniq_full_usage \ | 1051 | #define uniq_full_usage \ |
| 1052 | "Discard all but one of successive identical lines from INPUT\n" \ | 1052 | "Discard all but one of successive identical lines from INPUT\n" \ |
| 1053 | "(or standard input), writing to OUTPUT (or standard output).\n" \ | 1053 | "(or standard input), writing to OUTPUT (or standard output).\n\n" \ |
| 1054 | "Options:\n" \ | 1054 | "Options:\n" \ |
| 1055 | "\t-c\tprefix lines by the number of occurrences\n" \ | 1055 | "\t-c\tprefix lines by the number of occurrences\n" \ |
| 1056 | "\t-d\tonly print duplicate lines\n" \ | 1056 | "\t-d\tonly print duplicate lines\n" \ |
