summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorPaul Fox2005-08-01 18:12:30 +0000
committerPaul Fox2005-08-01 18:12:30 +0000
commitfc2256a6ca7f943d671edaceac1ed1dfe3d1751c (patch)
treebd9d3d8d3ac6ad21dbf31c7a40387d1a13f084a8 /include/usage.h
parent41a72ecd1936bc0b4ae75c723c88129bb01928ff (diff)
downloadbusybox-fc2256a6ca7f943d671edaceac1ed1dfe3d1751c.zip
busybox-fc2256a6ca7f943d671edaceac1ed1dfe3d1751c.tar.gz
applying patch for bug 72:
0000072: Add applet to redirect console output via ioctl(..., TIOCCONS) applet name changed to setconsole, since suse has a very similar utility. better to treat differences as bugs than invent a new command.
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 291ccb9..967ab3f 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2351,6 +2351,13 @@
"\tFIRST\tLAST\n" \
"\tFIRST\tINCREMENT\tLAST"
+#define setconsole_trivial_usage \
+ "[-r|--reset] [DEVICE]"
+#define setconsole_full_usage \
+ "Redirects system console output to DEVICE (default: /dev/tty).\n\n" \
+ "Options:\n" \
+ "\t-r\tReset output to /dev/console."
+
#define setkeycodes_trivial_usage \
"SCANCODE KEYCODE ..."
#define setkeycodes_full_usage \