diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 10:39:27 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 10:39:27 +0100 |
commit | 6d9329935c0621ddc056aee0d30cec52a24da499 (patch) | |
tree | 8b78faf3893c364337b138a9e8c20bfa4a286273 /console-tools/resize.c | |
parent | c19f7584e14522043da141189711c8db72dfbc90 (diff) | |
download | busybox-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/resize.c')
-rw-r--r-- | console-tools/resize.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/console-tools/resize.c b/console-tools/resize.c index a3342a195..567086f09 100644 --- a/console-tools/resize.c +++ b/console-tools/resize.c | |||
@@ -6,7 +6,26 @@ | |||
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 | /* no options, no getopt */ | 9 | //config:config RESIZE |
10 | //config: bool "resize" | ||
11 | //config: default y | ||
12 | //config: help | ||
13 | //config: This program is used to (re)set the width and height of your current | ||
14 | //config: terminal. | ||
15 | //config: | ||
16 | //config:config FEATURE_RESIZE_PRINT | ||
17 | //config: bool "Print environment variables" | ||
18 | //config: default y | ||
19 | //config: depends on RESIZE | ||
20 | //config: help | ||
21 | //config: Prints the newly set size (number of columns and rows) of | ||
22 | //config: the terminal. | ||
23 | //config: E.g.: | ||
24 | //config: COLUMNS=80;LINES=44;export COLUMNS LINES; | ||
25 | |||
26 | //applet:IF_RESIZE(APPLET(resize, BB_DIR_USR_BIN, BB_SUID_DROP)) | ||
27 | |||
28 | //kbuild:lib-$(CONFIG_RESIZE) += resize.o | ||
10 | 29 | ||
11 | //usage:#define resize_trivial_usage | 30 | //usage:#define resize_trivial_usage |
12 | //usage: "" | 31 | //usage: "" |