From c6dbb85c9eb513cde3d5809e0a96c77ed655dd4b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 26 Mar 2008 14:57:49 +0000 Subject: 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 --- include/usage.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/usage.h b/include/usage.h index 11f235c..f950a0a 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]]" -- cgit v1.1