aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-08-21 21:18:52 +0000
committerEric Andersen <andersen@codepoet.org>2000-08-21 21:18:52 +0000
commitfa405d0cb284011a4f0e47937a0aa34e6ccfff0d (patch)
tree31a61d59056c80e61b153a69799aa5d007195af4 /applets
parent202995c61226d4ac4d67956007dd5b4ea3cebe23 (diff)
downloadbusybox-fa405d0cb284011a4f0e47937a0aa34e6ccfff0d.tar.gz
Add in the "reset" command.
-Erik
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c3
-rw-r--r--applets/usage.c10
2 files changed, 13 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 25bfe438d..5d13a7b98 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -229,6 +229,9 @@ const struct BB_applet applets[] = {
#ifdef BB_RENICE
{"renice", renice_main, _BB_DIR_USR_BIN},
#endif
+#ifdef BB_RESET
+ {"reset", reset_main, _BB_DIR_USR_BIN, reset_usage},
+#endif
#ifdef BB_RM
{"rm", rm_main, _BB_DIR_BIN, rm_usage},
#endif
diff --git a/applets/usage.c b/applets/usage.c
index 5037c94d8..eaa77cc84 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -876,6 +876,16 @@ const char renice_usage[] =
;
#endif
+
+#if defined BB_RESET
+const char reset_usage[] =
+ "reset\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nResets the screen.\n"
+#endif
+ ;
+#endif
+
#if defined BB_RM
const char rm_usage[] =
"rm [OPTION]... FILE...\n"