summaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
authorEric Andersen2001-02-14 18:47:33 +0000
committerEric Andersen2001-02-14 18:47:33 +0000
commit98e599ca063bbba13e0806d54f8caa9b0d10ba56 (patch)
tree69f3fb0fcada0398c27cc3d6e26a25144876fff4 /applets/usage.c
parentec455953008d08f588fe0c0bd9df4278cd188315 (diff)
downloadbusybox-98e599ca063bbba13e0806d54f8caa9b0d10ba56.zip
busybox-98e599ca063bbba13e0806d54f8caa9b0d10ba56.tar.gz
Commit Vladimir's latest version of stty.c. Nice work.
-Erik
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c
index bdd4d3d..7f99808 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -1243,6 +1243,20 @@ const char sort_usage[] =
;
#endif
+#if defined BB_STTY
+const char stty_usage[] =
+ "stty [-a|g] [-F device] [SETTING]..."
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\n\nWithout arguments, prints baud rate, line discipline,"
+ "\nand deviations from stty sane."
+ "\n -F device open and use the specified device instead of stdin"
+ "\n -a print all current settings in human-readable form. Or"
+ "\n -g print in a stty-readable form"
+ "\n [SETTING] see in documentation"
+#endif
+ ;
+#endif
+
#if defined BB_SWAPONOFF
const char swapoff_usage[] =
"swapoff [OPTION] [device]"