summaryrefslogtreecommitdiff
path: root/bin/stty
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-02-09 17:37:39 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-02-09 17:37:39 +0000
commita89237ae953b770c82cf9c1dbf192cc54e1dd5be (patch)
treef2459cf124e940897222cf3c2d1d840dc7a981a5 /bin/stty
parentb3f44d7907dec84405f0aeeacbee5cfb3d39917e (diff)
Notes
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 c77a005a9855..f1f0107bdae7 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 383691a73759..f6daaf076ad8 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);
}