aboutsummaryrefslogtreecommitdiff
path: root/chvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'chvt.c')
-rw-r--r--chvt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/chvt.c b/chvt.c
index 635022a57..bf1ed609b 100644
--- a/chvt.c
+++ b/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]);