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-c6dbb85c9eb513cde3d5809e0a96c77ed655dd4b.tar.gz |
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 @@ "bar" #define fbsplash_trivial_usage \ - "[-c] [-d DEV] [-s IMGFILE] [-i INIFILE] [-f CMD]" + "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" #define fbsplash_full_usage \ "Options:\n" \ + "\n -s Image" \ "\n -c Hide cursor" \ "\n -d Framebuffer device (default /dev/fb0)" \ - "\n -s Splash image" \ - "\n -i Config file" \ + "\n -i Config file (var=value):" \ + "\n BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT" \ + "\n BAR_R,BAR_G,BAR_B" \ "\n -f Control pipe (else exit after drawing image)" \ - "\n commands: 'NN' (% for progressbar) or 'exit'" \ + "\n commands: 'NN' (% for progress bar) or 'exit'" \ #define brctl_trivial_usage \ "COMMAND [BRIDGE [INTERFACE]]" |