summaryrefslogtreecommitdiffstats
path: root/bin/stty
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stty')
-rw-r--r--bin/stty/stty.16
-rw-r--r--bin/stty/stty.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/bin/stty/stty.1 b/bin/stty/stty.1
index c77a005..f1f0107 100644
--- a/bin/stty/stty.1
+++ b/bin/stty/stty.1
@@ -40,15 +40,15 @@
.Nd set the options for a terminal device interface
.Sh SYNOPSIS
.Nm
-.Op Fl a | Fl e | Fl g
+.Op Fl a | e | g
.Op Fl f Ar file
-.Op operands
+.Op Ar arguments
.Sh DESCRIPTION
The
.Nm
utility sets or reports on terminal
characteristics for the device that is its standard input.
-If no options or operands are specified, it reports the settings of a subset
+If no options or arguments are specified, it reports the settings of a subset
of characteristics as well as additional ones if they differ from their
default values.
Otherwise it modifies
diff --git a/bin/stty/stty.c b/bin/stty/stty.c
index 383691a..f6daaf0 100644
--- a/bin/stty/stty.c
+++ b/bin/stty/stty.c
@@ -155,6 +155,7 @@ void
usage(void)
{
- (void)fprintf(stderr, "usage: stty [-a|-e|-g] [-f file] [options]\n");
+ (void)fprintf(stderr,
+ "usage: stty [-a | -e | -g] [-f file] [arguments]\n");
exit (1);
}
OpenPOWER on IntegriCloud