aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-07-03 13:29:04 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-07-03 13:29:04 +0000
commitc886a5d4d2b2a8c267ee2340db8fa477d1f64ff2 (patch)
tree6c876bd0757cd533adf0d612b425ea6b3035deae /sbin
parent3275cf7379641035626a915553a6431b8d53ea8a (diff)
downloadsrc-c886a5d4d2b2a8c267ee2340db8fa477d1f64ff2.tar.gz
src-c886a5d4d2b2a8c267ee2340db8fa477d1f64ff2.zip
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.
Notes
Notes: svn path=/head/; revision=62470
Diffstat (limited to 'sbin')
-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 0efe9892d5d7..417552008bee 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 ad77b988b70c..4b823e236330 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);
}