aboutsummaryrefslogtreecommitdiff
path: root/miscutils/ttysize.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/ttysize.c')
-rw-r--r--miscutils/ttysize.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/miscutils/ttysize.c b/miscutils/ttysize.c
index cba65b148..7f6a84308 100644
--- a/miscutils/ttysize.c
+++ b/miscutils/ttysize.c
@@ -10,13 +10,13 @@
10 * Licensed under GPLv2, see file LICENSE in this source tree. 10 * Licensed under GPLv2, see file LICENSE in this source tree.
11 */ 11 */
12//config:config TTYSIZE 12//config:config TTYSIZE
13//config: bool "ttysize" 13//config: bool "ttysize (372 bytes)"
14//config: default y 14//config: default y
15//config: help 15//config: help
16//config: A replacement for "stty size". Unlike stty, can report only width, 16//config: A replacement for "stty size". Unlike stty, can report only width,
17//config: only height, or both, in any order. It also does not complain on 17//config: only height, or both, in any order. It also does not complain on
18//config: error, but returns default 80x24. 18//config: error, but returns default 80x24.
19//config: Usage in shell scripts: width=`ttysize w`. 19//config: Usage in shell scripts: width=`ttysize w`.
20 20
21//applet:IF_TTYSIZE(APPLET(ttysize, BB_DIR_USR_BIN, BB_SUID_DROP)) 21//applet:IF_TTYSIZE(APPLET(ttysize, BB_DIR_USR_BIN, BB_SUID_DROP))
22 22