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
This commit is contained in:
Denis Vlasenko
2008-03-26 14:57:49 +00:00
parent 08ec67bc62
commit c6dbb85c9e
3 changed files with 470 additions and 4 deletions

View File

@ -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]]"