summaryrefslogtreecommitdiff
path: root/console-tools/setconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/setconsole.c')
-rw-r--r--console-tools/setconsole.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c
index 87265ba..59c8336 100644
--- a/console-tools/setconsole.c
+++ b/console-tools/setconsole.c
@@ -8,6 +8,13 @@
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+//usage:#define setconsole_trivial_usage
+//usage: "[-r" IF_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]"
+//usage:#define setconsole_full_usage "\n\n"
+//usage: "Redirect system console output to DEVICE (default: /dev/tty)\n"
+//usage: "\nOptions:"
+//usage: "\n -r Reset output to /dev/console"
+
#include "libbb.h"
int setconsole_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;