summaryrefslogtreecommitdiffstats
path: root/bin/stty
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-09 17:37:39 +0000
committerru <ru@FreeBSD.org>2005-02-09 17:37:39 +0000
commit978b8f7f1d9acca15190b3e1c3c13206ae9ff3be (patch)
treef2459cf124e940897222cf3c2d1d840dc7a981a5 /bin/stty
parentecbdad392c9834599fff9cd2683900672354f4c0 (diff)
downloadFreeBSD-src-978b8f7f1d9acca15190b3e1c3c13206ae9ff3be.zip
FreeBSD-src-978b8f7f1d9acca15190b3e1c3c13206ae9ff3be.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
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