aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h22
-rw-r--r--include/usage.h6
2 files changed, 23 insertions, 5 deletions
diff --git a/include/applets.h b/include/applets.h
index 0786c39eb..184bce09b 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -52,6 +52,9 @@
52#ifdef BB_AR 52#ifdef BB_AR
53 APPLET(ar, ar_main, _BB_DIR_USR_BIN) 53 APPLET(ar, ar_main, _BB_DIR_USR_BIN)
54#endif 54#endif
55#ifdef BB_ASH
56 APPLET_NOUSAGE("ash", ash_main, _BB_DIR_BIN)
57#endif
55#ifdef BB_BASENAME 58#ifdef BB_BASENAME
56 APPLET(basename, basename_main, _BB_DIR_USR_BIN) 59 APPLET(basename, basename_main, _BB_DIR_USR_BIN)
57#endif 60#endif
@@ -185,6 +188,9 @@
185#ifdef BB_HOSTNAME 188#ifdef BB_HOSTNAME
186 APPLET(hostname, hostname_main, _BB_DIR_BIN) 189 APPLET(hostname, hostname_main, _BB_DIR_BIN)
187#endif 190#endif
191#ifdef BB_HUSH
192 APPLET_NOUSAGE("hush", hush_main, _BB_DIR_BIN)
193#endif
188#ifdef BB_ID 194#ifdef BB_ID
189 APPLET(id, id_main, _BB_DIR_USR_BIN) 195 APPLET(id, id_main, _BB_DIR_USR_BIN)
190#endif 196#endif
@@ -206,6 +212,9 @@
206#ifdef BB_KLOGD 212#ifdef BB_KLOGD
207 APPLET(klogd, klogd_main, _BB_DIR_SBIN) 213 APPLET(klogd, klogd_main, _BB_DIR_SBIN)
208#endif 214#endif
215#ifdef BB_LASH
216 APPLET(lash, lash_main, _BB_DIR_BIN)
217#endif
209#ifdef BB_LENGTH 218#ifdef BB_LENGTH
210 APPLET(length, length_main, _BB_DIR_USR_BIN) 219 APPLET(length, length_main, _BB_DIR_USR_BIN)
211#endif 220#endif
@@ -272,6 +281,9 @@
272#ifdef BB_MOUNT 281#ifdef BB_MOUNT
273 APPLET(mount, mount_main, _BB_DIR_BIN) 282 APPLET(mount, mount_main, _BB_DIR_BIN)
274#endif 283#endif
284#ifdef BB_MSH
285 APPLET_NOUSAGE("msh", msh_main, _BB_DIR_BIN)
286#endif
275#ifdef BB_MT 287#ifdef BB_MT
276 APPLET(mt, mt_main, _BB_DIR_BIN) 288 APPLET(mt, mt_main, _BB_DIR_BIN)
277#endif 289#endif
@@ -344,8 +356,14 @@
344#ifdef BB_SETKEYCODES 356#ifdef BB_SETKEYCODES
345 APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN) 357 APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN)
346#endif 358#endif
347#ifdef BB_SH 359#ifdef BB_FEATURE_SH_IS_ASH
348 APPLET(sh, shell_main, _BB_DIR_BIN) 360 APPLET_NOUSAGE("sh", ash_main, _BB_DIR_BIN)
361#elif defined(BB_FEATURE_SH_IS_HUSH)
362 APPLET_NOUSAGE("sh", hush_main, _BB_DIR_BIN)
363#elif defined(BB_FEATURE_SH_IS_LASH)
364 APPLET_NOUSAGE("sh", lash_main, _BB_DIR_BIN)
365#elif defined(BB_FEATURE_SH_IS_MSH)
366 APPLET_NOUSAGE("sh", msh_main, _BB_DIR_BIN)
349#endif 367#endif
350#ifdef BB_SLEEP 368#ifdef BB_SLEEP
351 APPLET(sleep, sleep_main, _BB_DIR_BIN) 369 APPLET(sleep, sleep_main, _BB_DIR_BIN)
diff --git a/include/usage.h b/include/usage.h
index 08da42b27..13759d23f 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1365,12 +1365,12 @@
1365#define setkeycodes_example_usage \ 1365#define setkeycodes_example_usage \
1366 "$ setkeycodes e030 127\n" 1366 "$ setkeycodes e030 127\n"
1367 1367
1368#define sh_trivial_usage \ 1368#define lash_trivial_usage \
1369 "[FILE]...\n" \ 1369 "[FILE]...\n" \
1370 "or: sh -c command [args]..." 1370 "or: sh -c command [args]..."
1371#define sh_full_usage \ 1371#define lash_full_usage \
1372 "lash: The BusyBox LAme SHell (command interpreter)" 1372 "lash: The BusyBox LAme SHell (command interpreter)"
1373#define sh_notes_usage \ 1373#define lash_notes_usage \
1374"This command does not yet have proper documentation.\n" \ 1374"This command does not yet have proper documentation.\n" \
1375"\n" \ 1375"\n" \
1376"Use lash just as you would use any other shell. It properly handles pipes,\n" \ 1376"Use lash just as you would use any other shell. It properly handles pipes,\n" \