diff options
author | Pere Orga | 2011-03-27 23:42:28 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-03-28 02:51:01 +0200 |
commit | 55068c478ee8e8c058b0c9e37ce0ca57612c95b1 (patch) | |
tree | 31db732832446b4c231ecb2752279728ae9b9824 /console-tools/openvt.c | |
parent | 6ec1510f719ad7463d76eea9284428cc605d6b38 (diff) | |
download | busybox-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.zip busybox-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.tar.gz |
move help text from include/usage.src.h to console-tools/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/openvt.c')
-rw-r--r-- | console-tools/openvt.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/console-tools/openvt.c b/console-tools/openvt.c index 56f50c6..de5cf93 100644 --- a/console-tools/openvt.c +++ b/console-tools/openvt.c @@ -8,6 +8,19 @@ * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +//usage:#define openvt_trivial_usage +//usage: "[-c N] [-sw] [PROG ARGS]" +//usage:#define openvt_full_usage "\n\n" +//usage: "Start PROG on a new virtual terminal\n" +//usage: "\nOptions:" +//usage: "\n -c N Use specified VT" +//usage: "\n -s Switch to the VT" +/* //usage: "\n -l Run PROG as login shell (by prepending '-')" */ +//usage: "\n -w Wait for PROG to exit" +//usage: +//usage:#define openvt_example_usage +//usage: "openvt 2 /bin/ash\n" + #include <linux/vt.h> #include "libbb.h" |