From 98e599ca063bbba13e0806d54f8caa9b0d10ba56 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 14 Feb 2001 18:47:33 +0000 Subject: Commit Vladimir's latest version of stty.c. Nice work. -Erik --- applets/usage.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'applets') 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]" -- cgit v1.1