diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 14:57:49 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 14:57:49 +0000 |
commit | c6dbb85c9eb513cde3d5809e0a96c77ed655dd4b (patch) | |
tree | 91da15aebfa342d37b95a7b55a5e89acc44bd8c6 /include | |
parent | 08ec67bc62242503f77d9503fdbf820c9c12d856 (diff) | |
download | busybox-w32-c6dbb85c9eb513cde3d5809e0a96c77ed655dd4b.tar.gz busybox-w32-c6dbb85c9eb513cde3d5809e0a96c77ed655dd4b.tar.bz2 busybox-w32-c6dbb85c9eb513cde3d5809e0a96c77ed655dd4b.zip |
fbsplash: shrink, better help text; inifile cannot specify image now;
image can come from stdin
function old new delta
packed_usage 23872 23932 +60
static.param_names - 57 +57
fbsplash_main 1525 1472 -53
static.param_value 100 - -100
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/1 up/down: 117/-153) Total: -36 bytes
text data bss dec hex filename
801202 641 7380 809223 c5907 busybox_old
801181 641 7380 809202 c58f2 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/usage.h b/include/usage.h index 11f235c89..f950a0a49 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -121,15 +121,17 @@ | |||
121 | "bar" | 121 | "bar" |
122 | 122 | ||
123 | #define fbsplash_trivial_usage \ | 123 | #define fbsplash_trivial_usage \ |
124 | "[-c] [-d DEV] [-s IMGFILE] [-i INIFILE] [-f CMD]" | 124 | "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" |
125 | #define fbsplash_full_usage \ | 125 | #define fbsplash_full_usage \ |
126 | "Options:\n" \ | 126 | "Options:\n" \ |
127 | "\n -s Image" \ | ||
127 | "\n -c Hide cursor" \ | 128 | "\n -c Hide cursor" \ |
128 | "\n -d Framebuffer device (default /dev/fb0)" \ | 129 | "\n -d Framebuffer device (default /dev/fb0)" \ |
129 | "\n -s Splash image" \ | 130 | "\n -i Config file (var=value):" \ |
130 | "\n -i Config file" \ | 131 | "\n BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT" \ |
132 | "\n BAR_R,BAR_G,BAR_B" \ | ||
131 | "\n -f Control pipe (else exit after drawing image)" \ | 133 | "\n -f Control pipe (else exit after drawing image)" \ |
132 | "\n commands: 'NN' (% for progressbar) or 'exit'" \ | 134 | "\n commands: 'NN' (% for progress bar) or 'exit'" \ |
133 | 135 | ||
134 | #define brctl_trivial_usage \ | 136 | #define brctl_trivial_usage \ |
135 | "COMMAND [BRIDGE [INTERFACE]]" | 137 | "COMMAND [BRIDGE [INTERFACE]]" |