diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-27 23:42:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-28 02:51:01 +0200 |
commit | 55068c478ee8e8c058b0c9e37ce0ca57612c95b1 (patch) | |
tree | 31db732832446b4c231ecb2752279728ae9b9824 /console-tools/setconsole.c | |
parent | 6ec1510f719ad7463d76eea9284428cc605d6b38 (diff) | |
download | busybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.tar.gz busybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.tar.bz2 busybox-w32-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.zip |
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/setconsole.c')
-rw-r--r-- | console-tools/setconsole.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c index 87265baf8..59c83361c 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c | |||
@@ -8,6 +8,13 @@ | |||
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 setconsole_trivial_usage | ||
12 | //usage: "[-r" IF_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]" | ||
13 | //usage:#define setconsole_full_usage "\n\n" | ||
14 | //usage: "Redirect system console output to DEVICE (default: /dev/tty)\n" | ||
15 | //usage: "\nOptions:" | ||
16 | //usage: "\n -r Reset output to /dev/console" | ||
17 | |||
11 | #include "libbb.h" | 18 | #include "libbb.h" |
12 | 19 | ||
13 | int setconsole_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 20 | int setconsole_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |