summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko2019-02-27 16:45:39 +0100
committerDenys Vlasenko2019-02-27 16:45:39 +0100
commit4a6748662aaaf20161e6e81961775b3a4b599e46 (patch)
tree9da698e9d610ed666069dd712b93dfff57b7c574 /coreutils
parent87e216294af9eec39c0c1d553555f8a98c15db38 (diff)
downloadbusybox-4a6748662aaaf20161e6e81961775b3a4b599e46.zip
busybox-4a6748662aaaf20161e6e81961775b3a4b599e46.tar.gz
top: tweak --help
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/stty.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c
index 6251f2a..d1309f9 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -5,18 +5,7 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
-/* Usage: stty [-ag] [-F device] [setting...]
- *
- * Options:
- * -a Write all current settings to stdout in human-readable form.
- * -g Write all current settings to stdout in stty-readable form.
- * -F Open and use the specified device instead of stdin
- *
- * If no args are given, write to stdout the baud rate and settings that
- * have been changed from their defaults. Mode reading and changes
- * are done on the specified device, or stdin if none was specified.
- *
- * David MacKenzie <djm@gnu.ai.mit.edu>
+/* David MacKenzie <djm@gnu.ai.mit.edu>
*
* Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001
*/
@@ -40,6 +29,11 @@
//usage: "\n -g Print in stty-readable form"
//usage: "\n [SETTING] See manpage"
+/* If no args are given, write to stdout the baud rate and settings that
+ * have been changed from their defaults. Mode reading and changes
+ * are done on the specified device, or stdin if none was specified.
+ */
+
#include "libbb.h"
#include "common_bufsiz.h"