aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-26 13:32:30 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-26 13:32:30 +0000
commit08ec67bc62242503f77d9503fdbf820c9c12d856 (patch)
tree101a86c0fe86a07f786670ceca36bfcbdc2794ed /include
parentcc2965fd236a85e5cac4fffa1c34057997780385 (diff)
downloadbusybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.tar.gz
busybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.tar.bz2
busybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.zip
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')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h14
2 files changed, 14 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index 13c464887..1917f2afa 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -149,6 +149,7 @@ USE_EXPR(APPLET(expr, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
149USE_FAKEIDENTD(APPLET(fakeidentd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) 149USE_FAKEIDENTD(APPLET(fakeidentd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
150USE_FALSE(APPLET_NOFORK(false, false, _BB_DIR_BIN, _BB_SUID_NEVER, false)) 150USE_FALSE(APPLET_NOFORK(false, false, _BB_DIR_BIN, _BB_SUID_NEVER, false))
151USE_FBSET(APPLET(fbset, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) 151USE_FBSET(APPLET(fbset, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
152USE_FBSPLASH(APPLET(fbsplash, _BB_DIR_BIN, _BB_SUID_NEVER))
152USE_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_NEVER, fdflush)) 153USE_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_NEVER, fdflush))
153USE_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 154USE_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
154USE_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_NEVER)) 155USE_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 71c958260..11f235c89 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -120,6 +120,17 @@
120 "$ basename /foo/bar.txt .txt\n" \ 120 "$ basename /foo/bar.txt .txt\n" \
121 "bar" 121 "bar"
122 122
123#define fbsplash_trivial_usage \
124 "[-c] [-d DEV] [-s IMGFILE] [-i INIFILE] [-f CMD]"
125#define fbsplash_full_usage \
126 "Options:\n" \
127 "\n -c Hide cursor" \
128 "\n -d Framebuffer device (default /dev/fb0)" \
129 "\n -s Splash image" \
130 "\n -i Config file" \
131 "\n -f Control pipe (else exit after drawing image)" \
132 "\n commands: 'NN' (% for progressbar) or 'exit'" \
133
123#define brctl_trivial_usage \ 134#define brctl_trivial_usage \
124 "COMMAND [BRIDGE [INTERFACE]]" 135 "COMMAND [BRIDGE [INTERFACE]]"
125#define brctl_full_usage \ 136#define brctl_full_usage \
@@ -2838,10 +2849,11 @@
2838 ) 2849 )
2839 2850
2840#define patch_trivial_usage \ 2851#define patch_trivial_usage \
2841 "[-p NUM] [-i DIFF]" 2852 "[-p NUM] [-i DIFF] [-R]"
2842#define patch_full_usage \ 2853#define patch_full_usage \
2843 " -p NUM Strip NUM leading components from file names" \ 2854 " -p NUM Strip NUM leading components from file names" \
2844 "\n -i DIFF Read DIFF instead of stdin" \ 2855 "\n -i DIFF Read DIFF instead of stdin" \
2856 "\n -R Reverse patch" \
2845 2857
2846#define patch_example_usage \ 2858#define patch_example_usage \
2847 "$ patch -p1 < example.diff\n" \ 2859 "$ patch -p1 < example.diff\n" \