aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h34
2 files changed, 23 insertions, 12 deletions
diff --git a/include/applets.h b/include/applets.h
index ef5dd781d..dfb20b9be 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -83,6 +83,7 @@ IF_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_DROP))
83//IF_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_DROP)) 83//IF_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_DROP))
84IF_BEEP(APPLET(beep, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 84IF_BEEP(APPLET(beep, _BB_DIR_USR_BIN, _BB_SUID_DROP))
85IF_BLKID(APPLET(blkid, _BB_DIR_SBIN, _BB_SUID_DROP)) 85IF_BLKID(APPLET(blkid, _BB_DIR_SBIN, _BB_SUID_DROP))
86IF_BOOTCHARTD(APPLET(bootchartd, _BB_DIR_SBIN, _BB_SUID_DROP))
86IF_BRCTL(APPLET(brctl, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) 87IF_BRCTL(APPLET(brctl, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
87IF_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 88IF_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP))
88IF_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP, bzcat)) 89IF_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP, bzcat))
diff --git a/include/usage.h b/include/usage.h
index 2c2a90d16..636d01943 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -154,18 +154,15 @@
154 "\n -r Repetitions" \ 154 "\n -r Repetitions" \
155 "\n -n Start new tone" \ 155 "\n -n Start new tone" \
156 156
157#define fbsplash_trivial_usage \ 157#define bootchartd_trivial_usage \
158 "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" 158 "start [PROG ARGS]|stop|init"
159#define fbsplash_full_usage "\n\n" \ 159#define bootchartd_full_usage "\n\n" \
160 "Options:" \ 160 "Create /var/log/bootchart.tgz with boot chart data\n" \
161 "\n -s Image" \ 161 "\nOptions:" \
162 "\n -c Hide cursor" \ 162 "\nstart: start background logging; with PROG, run PROG, then kill logging with USR1" \
163 "\n -d Framebuffer device (default /dev/fb0)" \ 163 "\nstop: send USR1 to all bootchartd processes" \
164 "\n -i Config file (var=value):" \ 164 "\ninit: start background logging; stop when getty/xdm is seen (for init scripts)" \
165 "\n BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT" \ 165 "\nUnder PID 1: as init, then exec $bootchart_init, /init, /sbin/init" \
166 "\n BAR_R,BAR_G,BAR_B" \
167 "\n -f Control pipe (else exit after drawing image)" \
168 "\n commands: 'NN' (% for progress bar) or 'exit'" \
169 166
170#define brctl_trivial_usage \ 167#define brctl_trivial_usage \
171 "COMMAND [BRIDGE [INTERFACE]]" 168 "COMMAND [BRIDGE [INTERFACE]]"
@@ -1174,6 +1171,19 @@
1174 "$ echo $?\n" \ 1171 "$ echo $?\n" \
1175 "1\n" 1172 "1\n"
1176 1173
1174#define fbsplash_trivial_usage \
1175 "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]"
1176#define fbsplash_full_usage "\n\n" \
1177 "Options:" \
1178 "\n -s Image" \
1179 "\n -c Hide cursor" \
1180 "\n -d Framebuffer device (default /dev/fb0)" \
1181 "\n -i Config file (var=value):" \
1182 "\n BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT" \
1183 "\n BAR_R,BAR_G,BAR_B" \
1184 "\n -f Control pipe (else exit after drawing image)" \
1185 "\n commands: 'NN' (% for progress bar) or 'exit'" \
1186
1177#define fbset_trivial_usage \ 1187#define fbset_trivial_usage \
1178 "[OPTIONS] [MODE]" 1188 "[OPTIONS] [MODE]"
1179#define fbset_full_usage "\n\n" \ 1189#define fbset_full_usage "\n\n" \