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 --- usage.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'usage.c') diff --git a/usage.c b/usage.c index bdd4d3d83..7f998086b 100644 --- a/usage.c +++ b/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.2.3