aboutsummaryrefslogtreecommitdiff
path: root/console-tools/openvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/openvt.c')
-rw-r--r--console-tools/openvt.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/console-tools/openvt.c b/console-tools/openvt.c
index 56f50c6cd..de5cf93fe 100644
--- a/console-tools/openvt.c
+++ b/console-tools/openvt.c
@@ -8,6 +8,19 @@
8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
9 */ 9 */
10 10
11//usage:#define openvt_trivial_usage
12//usage: "[-c N] [-sw] [PROG ARGS]"
13//usage:#define openvt_full_usage "\n\n"
14//usage: "Start PROG on a new virtual terminal\n"
15//usage: "\nOptions:"
16//usage: "\n -c N Use specified VT"
17//usage: "\n -s Switch to the VT"
18/* //usage: "\n -l Run PROG as login shell (by prepending '-')" */
19//usage: "\n -w Wait for PROG to exit"
20//usage:
21//usage:#define openvt_example_usage
22//usage: "openvt 2 /bin/ash\n"
23
11#include <linux/vt.h> 24#include <linux/vt.h>
12#include "libbb.h" 25#include "libbb.h"
13 26