summaryrefslogtreecommitdiffstats
path: root/sbin/comcontrol
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-07-03 13:29:04 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-07-03 13:29:04 +0000
commite7f486457aa7b52a0c996b41a4351c072e162f5a (patch)
tree6ee7e6ea1da680f96c15c9cfec3519d5a66b3e8b /sbin/comcontrol
parent2a91a9dd04db6f7f139116433bc749e9ef752d07 (diff)
downloadFreeBSD-src-e7f486457aa7b52a0c996b41a4351c072e162f5a.zip
FreeBSD-src-e7f486457aa7b52a0c996b41a4351c072e162f5a.tar.gz
Remove the use of a dash in the usage, since this isn't in keeping
with other utilities which offer similar functionality. This change was discussed with ache, who brought in the ability to use a dash to represent stdin in comcontrol.
Diffstat (limited to 'sbin/comcontrol')
-rw-r--r--sbin/comcontrol/comcontrol.82
-rw-r--r--sbin/comcontrol/comcontrol.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/comcontrol/comcontrol.8 b/sbin/comcontrol/comcontrol.8
index 0efe989..4175520 100644
--- a/sbin/comcontrol/comcontrol.8
+++ b/sbin/comcontrol/comcontrol.8
@@ -7,7 +7,7 @@
.Nd control a special tty device
.Sh SYNOPSIS
.Nm comcontrol
-.Ar special_device | Fl
+.Ar special_device
.Op dtrwait Ar number
.Op drainwait Ar number
.Sh DESCRIPTION
diff --git a/sbin/comcontrol/comcontrol.c b/sbin/comcontrol/comcontrol.c
index ad77b98..4b823e2 100644
--- a/sbin/comcontrol/comcontrol.c
+++ b/sbin/comcontrol/comcontrol.c
@@ -45,7 +45,7 @@ static void
usage()
{
fprintf(stderr,
- "usage: comcontrol <filename>|- [dtrwait <n>] [drainwait <n>]\n");
+ "usage: comcontrol <filename> [dtrwait <n>] [drainwait <n>]\n");
exit(1);
}
OpenPOWER on IntegriCloud