summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2001-02-16 18:41:12 +0000
committerEric Andersen2001-02-16 18:41:12 +0000
commit733c4ad6ebc092292053e0fb7a7e32c204a3b371 (patch)
tree45a871308c610b20f12f45cc7fef495747038f5c /include
parentfa4f146d7d3600df63f76b1d4d90620d983901c4 (diff)
downloadbusybox-733c4ad6ebc092292053e0fb7a7e32c204a3b371.zip
busybox-733c4ad6ebc092292053e0fb7a7e32c204a3b371.tar.gz
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 'include')
-rw-r--r--include/usage.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index c4d301b..c16a225 100644
--- a/include/usage.h
+++ b/include/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