diff options
author | Denis Vlasenko | 2008-03-26 13:32:30 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-03-26 13:32:30 +0000 |
commit | 08ec67bc62242503f77d9503fdbf820c9c12d856 (patch) | |
tree | 101a86c0fe86a07f786670ceca36bfcbdc2794ed /include/usage.h | |
parent | cc2965fd236a85e5cac4fffa1c34057997780385 (diff) | |
download | busybox-08ec67bc62242503f77d9503fdbf820c9c12d856.zip busybox-08ec67bc62242503f77d9503fdbf820c9c12d856.tar.gz |
patch: add support for -R. ~ +110 byte. By Pascal Bellard <pascal.bellard AT ads-lu.com>
fbsplash: new applet by Michele Sanges <michele.sanges AT otomelara.it
function old new delta
fbsplash_main - 1525 +1525
fb_drawfullrectangle - 118 +118
static.param_value - 100 +100
packed_usage 23776 23872 +96
applet_names 1843 1852 +9
applet_main 1120 1124 +4
read_line_input 3156 3158 +2
applet_nameofs 560 562 +2
applet_install_loc 140 141 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 6/0 up/down: 1857/0) Total: 1857 bytes
text data bss dec hex filename
799233 641 7380 807254 c5156 busybox_old
801202 641 7380 809223 c5907 busybox_unstripped
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index 71c9582..11f235c 100644 --- a/include/usage.h +++ b/include/usage.h @@ -120,6 +120,17 @@ "$ basename /foo/bar.txt .txt\n" \ "bar" +#define fbsplash_trivial_usage \ + "[-c] [-d DEV] [-s IMGFILE] [-i INIFILE] [-f CMD]" +#define fbsplash_full_usage \ + "Options:\n" \ + "\n -c Hide cursor" \ + "\n -d Framebuffer device (default /dev/fb0)" \ + "\n -s Splash image" \ + "\n -i Config file" \ + "\n -f Control pipe (else exit after drawing image)" \ + "\n commands: 'NN' (% for progressbar) or 'exit'" \ + #define brctl_trivial_usage \ "COMMAND [BRIDGE [INTERFACE]]" #define brctl_full_usage \ @@ -2838,10 +2849,11 @@ ) #define patch_trivial_usage \ - "[-p NUM] [-i DIFF]" + "[-p NUM] [-i DIFF] [-R]" #define patch_full_usage \ " -p NUM Strip NUM leading components from file names" \ "\n -i DIFF Read DIFF instead of stdin" \ + "\n -R Reverse patch" \ #define patch_example_usage \ "$ patch -p1 < example.diff\n" \ |