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
This commit is contained in:
Eric Andersen
2001-02-16 18:41:12 +00:00
parent fa4f146d7d
commit 733c4ad6eb
5 changed files with 42 additions and 46 deletions

View File

@ -474,6 +474,18 @@ false_usage_index
DO_COMMA
#endif
#if defined BB_FBSET
#if defined USAGE_ENUM
fbset_usage_index
#elif defined USAGE_MESSAGES
"fbset [options] [mode]"
#ifndef BB_FEATURE_TRIVIAL_HELP
"\n\nShows and modifies frame buffer device settings"
#endif
#endif
DO_COMMA
#endif
#if defined BB_FDFLUSH
#if defined USAGE_ENUM
fdflush_usage_index