diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-06 21:23:02 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-06 21:23:02 +0200 |
commit | 8d680b51148b9cbe7dd3afd37022f3390dd999ef (patch) | |
tree | 023bc47a3232fef1546c087d86a9950ec3d29a23 | |
parent | 07697859ae053f745c5bcb090d7b245eddf7bb15 (diff) | |
download | busybox-w32-8d680b51148b9cbe7dd3afd37022f3390dd999ef.tar.gz busybox-w32-8d680b51148b9cbe7dd3afd37022f3390dd999ef.tar.bz2 busybox-w32-8d680b51148b9cbe7dd3afd37022f3390dd999ef.zip |
Trim help text a bit more
function old new delta
packed_usage 26625 26529 -96
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/usage.h | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/include/usage.h b/include/usage.h index bf16a0b3f..f905145ae 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -193,7 +193,7 @@ | |||
193 | #define bunzip2_trivial_usage \ | 193 | #define bunzip2_trivial_usage \ |
194 | "[OPTIONS] [FILE]" | 194 | "[OPTIONS] [FILE]" |
195 | #define bunzip2_full_usage "\n\n" \ | 195 | #define bunzip2_full_usage "\n\n" \ |
196 | "Uncompress FILE (or standard input if FILE is '-' or omitted)\n" \ | 196 | "Uncompress FILE (or standard input)\n" \ |
197 | "\nOptions:" \ | 197 | "\nOptions:" \ |
198 | "\n -c Write to standard output" \ | 198 | "\n -c Write to standard output" \ |
199 | "\n -f Force" \ | 199 | "\n -f Force" \ |
@@ -201,8 +201,7 @@ | |||
201 | #define bzip2_trivial_usage \ | 201 | #define bzip2_trivial_usage \ |
202 | "[OPTIONS] [FILE]..." | 202 | "[OPTIONS] [FILE]..." |
203 | #define bzip2_full_usage "\n\n" \ | 203 | #define bzip2_full_usage "\n\n" \ |
204 | "Compress FILE(s) with bzip2 algorithm.\n" \ | 204 | "Compress FILEs (or standard input) with bzip2 algorithm.\n" \ |
205 | "When FILE is '-' or unspecified, reads standard input. Implies -c.\n" \ | ||
206 | "\nOptions:" \ | 205 | "\nOptions:" \ |
207 | "\n -c Write to standard output" \ | 206 | "\n -c Write to standard output" \ |
208 | "\n -d Decompress" \ | 207 | "\n -d Decompress" \ |
@@ -245,7 +244,7 @@ | |||
245 | #define unlzma_trivial_usage \ | 244 | #define unlzma_trivial_usage \ |
246 | "[OPTIONS] [FILE]" | 245 | "[OPTIONS] [FILE]" |
247 | #define unlzma_full_usage "\n\n" \ | 246 | #define unlzma_full_usage "\n\n" \ |
248 | "Uncompress FILE (or standard input if FILE is '-' or omitted)\n" \ | 247 | "Uncompress FILE (or standard input)\n" \ |
249 | "\nOptions:" \ | 248 | "\nOptions:" \ |
250 | "\n -c Write to standard output" \ | 249 | "\n -c Write to standard output" \ |
251 | "\n -f Force" \ | 250 | "\n -f Force" \ |
@@ -266,7 +265,7 @@ | |||
266 | #define cat_trivial_usage \ | 265 | #define cat_trivial_usage \ |
267 | "[-u] [FILE]..." | 266 | "[-u] [FILE]..." |
268 | #define cat_full_usage "\n\n" \ | 267 | #define cat_full_usage "\n\n" \ |
269 | "Concatenate FILE(s) and print them to stdout\n" \ | 268 | "Concatenate FILEs and print them to stdout\n" \ |
270 | "\nOptions:" \ | 269 | "\nOptions:" \ |
271 | "\n -u Use unbuffered i/o (ignored)" \ | 270 | "\n -u Use unbuffered i/o (ignored)" \ |
272 | 271 | ||
@@ -1622,9 +1621,8 @@ | |||
1622 | #define head_trivial_usage \ | 1621 | #define head_trivial_usage \ |
1623 | "[OPTIONS] [FILE]..." | 1622 | "[OPTIONS] [FILE]..." |
1624 | #define head_full_usage "\n\n" \ | 1623 | #define head_full_usage "\n\n" \ |
1625 | "Print first 10 lines of each FILE to standard output.\n" \ | 1624 | "Print first 10 lines of each FILE (or standard input) to standard output.\n" \ |
1626 | "With more than one FILE, precede each with a header giving the\n" \ | 1625 | "With more than one FILE, precede each with a header giving the file name.\n" \ |
1627 | "file name. With no FILE, or when FILE is -, read standard input.\n" \ | ||
1628 | "\nOptions:" \ | 1626 | "\nOptions:" \ |
1629 | "\n -n NUM Print first NUM lines instead of first 10" \ | 1627 | "\n -n NUM Print first NUM lines instead of first 10" \ |
1630 | IF_FEATURE_FANCY_HEAD( \ | 1628 | IF_FEATURE_FANCY_HEAD( \ |
@@ -1640,7 +1638,7 @@ | |||
1640 | #define hexdump_trivial_usage \ | 1638 | #define hexdump_trivial_usage \ |
1641 | "[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] FILE..." | 1639 | "[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] FILE..." |
1642 | #define hexdump_full_usage "\n\n" \ | 1640 | #define hexdump_full_usage "\n\n" \ |
1643 | "Display file(s) or standard input in a user specified format\n" \ | 1641 | "Display FILEs or standard input in a user specified format\n" \ |
1644 | "\nOptions:" \ | 1642 | "\nOptions:" \ |
1645 | "\n -b One-byte octal display" \ | 1643 | "\n -b One-byte octal display" \ |
1646 | "\n -c One-byte character display" \ | 1644 | "\n -c One-byte character display" \ |
@@ -3189,7 +3187,7 @@ | |||
3189 | "[-aBbcDdeFfHhIiLlOovXx] " IF_DESKTOP("[-t TYPE] ") "[FILE]" | 3187 | "[-aBbcDdeFfHhIiLlOovXx] " IF_DESKTOP("[-t TYPE] ") "[FILE]" |
3190 | #define od_full_usage "\n\n" \ | 3188 | #define od_full_usage "\n\n" \ |
3191 | "Write an unambiguous representation, octal bytes by default, of FILE\n" \ | 3189 | "Write an unambiguous representation, octal bytes by default, of FILE\n" \ |
3192 | "to standard output. With no FILE or when FILE is -, read standard input." | 3190 | "(or standard input) to standard output." |
3193 | 3191 | ||
3194 | #define openvt_trivial_usage \ | 3192 | #define openvt_trivial_usage \ |
3195 | "[-c N] [-sw] [PROG [ARGS]]" | 3193 | "[-c N] [-sw] [PROG [ARGS]]" |
@@ -3509,8 +3507,7 @@ | |||
3509 | #define readahead_trivial_usage \ | 3507 | #define readahead_trivial_usage \ |
3510 | "[FILE]..." | 3508 | "[FILE]..." |
3511 | #define readahead_full_usage "\n\n" \ | 3509 | #define readahead_full_usage "\n\n" \ |
3512 | "Preload FILE(s) in RAM cache so that subsequent reads for those" \ | 3510 | "Preload FILEs to RAM" |
3513 | "files don't block on disk I/O" | ||
3514 | 3511 | ||
3515 | #define readlink_trivial_usage \ | 3512 | #define readlink_trivial_usage \ |
3516 | IF_FEATURE_READLINK_FOLLOW("[-fnv] ") "FILE" | 3513 | IF_FEATURE_READLINK_FOLLOW("[-fnv] ") "FILE" |
@@ -3607,8 +3604,7 @@ | |||
3607 | #define rm_trivial_usage \ | 3604 | #define rm_trivial_usage \ |
3608 | "[OPTIONS] FILE..." | 3605 | "[OPTIONS] FILE..." |
3609 | #define rm_full_usage "\n\n" \ | 3606 | #define rm_full_usage "\n\n" \ |
3610 | "Remove (unlink) the FILE(s). Use '--' to\n" \ | 3607 | "Remove (unlink) FILEs\n" \ |
3611 | "indicate that all following arguments are non-options.\n" \ | ||
3612 | "\nOptions:" \ | 3608 | "\nOptions:" \ |
3613 | "\n -i Always prompt before removing" \ | 3609 | "\n -i Always prompt before removing" \ |
3614 | "\n -f Never prompt" \ | 3610 | "\n -f Never prompt" \ |
@@ -4312,17 +4308,16 @@ | |||
4312 | #define tac_trivial_usage \ | 4308 | #define tac_trivial_usage \ |
4313 | "[FILE]..." | 4309 | "[FILE]..." |
4314 | #define tac_full_usage "\n\n" \ | 4310 | #define tac_full_usage "\n\n" \ |
4315 | "Concatenate FILE(s) and print them in reverse" | 4311 | "Concatenate FILEs and print them in reverse" |
4316 | 4312 | ||
4317 | #define tail_trivial_usage \ | 4313 | #define tail_trivial_usage \ |
4318 | "[OPTIONS] [FILE]..." | 4314 | "[OPTIONS] [FILE]..." |
4319 | #define tail_full_usage "\n\n" \ | 4315 | #define tail_full_usage "\n\n" \ |
4320 | "Print last 10 lines of each FILE to standard output.\n" \ | 4316 | "Print last 10 lines of each FILE (or standard input) to standard output.\n" \ |
4321 | "With more than one FILE, precede each with a header giving the\n" \ | 4317 | "With more than one FILE, precede each with a header giving the file name.\n" \ |
4322 | "file name. With no FILE, or when FILE is -, read standard input.\n" \ | ||
4323 | "\nOptions:" \ | 4318 | "\nOptions:" \ |
4324 | IF_FEATURE_FANCY_TAIL( \ | 4319 | IF_FEATURE_FANCY_TAIL( \ |
4325 | "\n -c N[kbm] Output the last N bytes") \ | 4320 | "\n -c N[kbm] Output last N bytes") \ |
4326 | "\n -n N[kbm] Print last N lines instead of last 10" \ | 4321 | "\n -n N[kbm] Print last N lines instead of last 10" \ |
4327 | "\n -f Output data as the file grows" \ | 4322 | "\n -f Output data as the file grows" \ |
4328 | IF_FEATURE_FANCY_TAIL( \ | 4323 | IF_FEATURE_FANCY_TAIL( \ |
@@ -4343,9 +4338,11 @@ | |||
4343 | IF_FEATURE_SEAMLESS_BZ2("j") IF_FEATURE_SEAMLESS_LZMA("a") \ | 4338 | IF_FEATURE_SEAMLESS_BZ2("j") IF_FEATURE_SEAMLESS_LZMA("a") \ |
4344 | IF_FEATURE_SEAMLESS_Z("Z") "xtvO] " \ | 4339 | IF_FEATURE_SEAMLESS_Z("Z") "xtvO] " \ |
4345 | IF_FEATURE_TAR_FROM("[-X FILE] ") \ | 4340 | IF_FEATURE_TAR_FROM("[-X FILE] ") \ |
4346 | "[-f TARFILE] [-C DIR] [FILE(s)]..." | 4341 | "[-f TARFILE] [-C DIR] [FILE]..." |
4347 | #define tar_full_usage "\n\n" \ | 4342 | #define tar_full_usage "\n\n" \ |
4348 | "Create, extract, or list files from a tar file\n" \ | 4343 | IF_FEATURE_TAR_CREATE("Create, extract, ") \ |
4344 | IF_NOT_FEATURE_TAR_CREATE("Extract ") \ | ||
4345 | "or list files from a tar file\n" \ | ||
4349 | "\nOptions:" \ | 4346 | "\nOptions:" \ |
4350 | IF_FEATURE_TAR_CREATE( \ | 4347 | IF_FEATURE_TAR_CREATE( \ |
4351 | "\n c Create") \ | 4348 | "\n c Create") \ |