From 733c4ad6ebc092292053e0fb7a7e32c204a3b371 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 16 Feb 2001 18:41:12 +0000 Subject: 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 --- applets/usage.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'applets') 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 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 -- cgit v1.2.3