aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-16 18:41:12 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-16 18:41:12 +0000
commit8f91b78e3084aff37f7cabf0e6e13500f2b4a12e (patch)
tree45a871308c610b20f12f45cc7fef495747038f5c /include/usage.h
parent4489b78a050706ea6a8f4d729add35a5ea3c77db (diff)
downloadbusybox-w32-8f91b78e3084aff37f7cabf0e6e13500f2b4a12e.tar.gz
busybox-w32-8f91b78e3084aff37f7cabf0e6e13500f2b4a12e.tar.bz2
busybox-w32-8f91b78e3084aff37f7cabf0e6e13500f2b4a12e.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 git-svn-id: svn://busybox.net/trunk/busybox@1836 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index c4d301b5e..c16a225a1 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -474,6 +474,18 @@ false_usage_index
474DO_COMMA 474DO_COMMA
475#endif 475#endif
476 476
477#if defined BB_FBSET
478#if defined USAGE_ENUM
479fbset_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
486DO_COMMA
487#endif
488
477#if defined BB_FDFLUSH 489#if defined BB_FDFLUSH
478#if defined USAGE_ENUM 490#if defined USAGE_ENUM
479fdflush_usage_index 491fdflush_usage_index