aboutsummaryrefslogtreecommitdiff
path: root/console-tools/chvt.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-04-21 01:26:49 +0000
committerErik Andersen <andersen@codepoet.org>2000-04-21 01:26:49 +0000
commit1d1d95051a288b6bf64498aac9fb20047f384b7d (patch)
tree2c99ce8ba7d4d592806fbf81899e663bc884676b /console-tools/chvt.c
parentcf8d38a3eb46f4f9c4e674d43cff486cd79c9c0f (diff)
downloadbusybox-w32-1d1d95051a288b6bf64498aac9fb20047f384b7d.tar.gz
busybox-w32-1d1d95051a288b6bf64498aac9fb20047f384b7d.tar.bz2
busybox-w32-1d1d95051a288b6bf64498aac9fb20047f384b7d.zip
More Doc updates. cmdedit and more termio fixes.
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r--console-tools/chvt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c
index 635022a57..bf1ed609b 100644
--- a/console-tools/chvt.c
+++ b/console-tools/chvt.c
@@ -19,8 +19,11 @@ int chvt_main(int argc, char **argv)
19 int fd, num; 19 int fd, num;
20 20
21 if ((argc != 2) || (**(argv + 1) == '-')) { 21 if ((argc != 2) || (**(argv + 1) == '-')) {
22 usage 22 usage ("chvt N\n"
23 ("chvt N\n\nChange foreground virtual terminal to /dev/ttyN\n"); 23#ifndef BB_FEATURE_TRIVIAL_HELP
24 "\nChanges the foreground virtual terminal to /dev/ttyN\n"
25#endif
26 );
24 } 27 }
25 fd = get_console_fd("/dev/console"); 28 fd = get_console_fd("/dev/console");
26 num = atoi(argv[1]); 29 num = atoi(argv[1]);