diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-16 18:41:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-16 18:41:12 +0000 |
commit | 733c4ad6ebc092292053e0fb7a7e32c204a3b371 (patch) | |
tree | 45a871308c610b20f12f45cc7fef495747038f5c /applets | |
parent | fa4f146d7d3600df63f76b1d4d90620d983901c4 (diff) | |
download | busybox-w32-733c4ad6ebc092292053e0fb7a7e32c204a3b371.tar.gz busybox-w32-733c4ad6ebc092292053e0fb7a7e32c204a3b371.tar.bz2 busybox-w32-733c4ad6ebc092292053e0fb7a7e32c204a3b371.zip |
Do usage messages the same way all other apps fo them.
Skip printing of available options (can't do this easily).
Based on a patch by Larry Doolittle.
-Erik
Diffstat (limited to 'applets')
-rw-r--r-- | applets/usage.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/applets/usage.h b/applets/usage.h index c4d301b5e..c16a225a1 100644 --- a/applets/usage.h +++ b/applets/usage.h | |||
@@ -474,6 +474,18 @@ false_usage_index | |||
474 | DO_COMMA | 474 | DO_COMMA |
475 | #endif | 475 | #endif |
476 | 476 | ||
477 | #if defined BB_FBSET | ||
478 | #if defined USAGE_ENUM | ||
479 | fbset_usage_index | ||
480 | #elif defined USAGE_MESSAGES | ||
481 | "fbset [options] [mode]" | ||
482 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
483 | "\n\nShows and modifies frame buffer device settings" | ||
484 | #endif | ||
485 | #endif | ||
486 | DO_COMMA | ||
487 | #endif | ||
488 | |||
477 | #if defined BB_FDFLUSH | 489 | #if defined BB_FDFLUSH |
478 | #if defined USAGE_ENUM | 490 | #if defined USAGE_ENUM |
479 | fdflush_usage_index | 491 | fdflush_usage_index |