diff options
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: "" |