aboutsummaryrefslogtreecommitdiff
path: root/console-tools/clear.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 10:39:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 10:39:27 +0100
commit6d9329935c0621ddc056aee0d30cec52a24da499 (patch)
tree8b78faf3893c364337b138a9e8c20bfa4a286273 /console-tools/clear.c
parentc19f7584e14522043da141189711c8db72dfbc90 (diff)
downloadbusybox-w32-6d9329935c0621ddc056aee0d30cec52a24da499.tar.gz
busybox-w32-6d9329935c0621ddc056aee0d30cec52a24da499.tar.bz2
busybox-w32-6d9329935c0621ddc056aee0d30cec52a24da499.zip
Convert all console-tools/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/clear.c')
-rw-r--r--console-tools/clear.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/console-tools/clear.c b/console-tools/clear.c
index ac22b787e..b360d34d9 100644
--- a/console-tools/clear.c
+++ b/console-tools/clear.c
@@ -6,6 +6,15 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9//config:config CLEAR
10//config: bool "clear"
11//config: default y
12//config: help
13//config: This program clears the terminal screen.
14
15//applet:IF_CLEAR(APPLET(clear, BB_DIR_USR_BIN, BB_SUID_DROP))
16
17//kbuild:lib-$(CONFIG_CLEAR) += clear.o
9 18
10//usage:#define clear_trivial_usage 19//usage:#define clear_trivial_usage
11//usage: "" 20//usage: ""