aboutsummaryrefslogtreecommitdiff
path: root/console-tools/chvt.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /console-tools/chvt.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip
Extract usage information into a separate file.
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r--console-tools/chvt.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c
index ab0e9218f..87a1248fd 100644
--- a/console-tools/chvt.c
+++ b/console-tools/chvt.c
@@ -15,13 +15,6 @@
15#define VT_ACTIVATE 0x5606 /* make vt active */ 15#define VT_ACTIVATE 0x5606 /* make vt active */
16#define VT_WAITACTIVE 0x5607 /* wait for vt active */ 16#define VT_WAITACTIVE 0x5607 /* wait for vt active */
17 17
18const char chvt_usage[] =
19 "chvt N\n"
20#ifndef BB_FEATURE_TRIVIAL_HELP
21 "\nChanges the foreground virtual terminal to /dev/ttyN\n"
22#endif
23 ;
24
25int chvt_main(int argc, char **argv) 18int chvt_main(int argc, char **argv)
26{ 19{
27 int fd, num; 20 int fd, num;