summaryrefslogtreecommitdiff
path: root/games/bcd
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1998-12-13 07:56:07 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1998-12-13 07:56:07 +0000
commita61116d080f7fda0bfe910c93a662c6f7b47bd5e (patch)
treed494d9224680eb56b1e6a3dc6621c6636404f19d /games/bcd
parentf953a7693e8675d026789c94770843ab5cb73ab7 (diff)
document new -d option for morse
Diffstat (limited to 'games/bcd')
-rw-r--r--games/bcd/bcd.618
1 files changed, 16 insertions, 2 deletions
diff --git a/games/bcd/bcd.6 b/games/bcd/bcd.6
index 71267be0f68..d5f8238160e 100644
--- a/games/bcd/bcd.6
+++ b/games/bcd/bcd.6
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bcd.6,v 1.5 1998/08/22 09:10:15 pjanzen Exp $
+.\" $OpenBSD: bcd.6,v 1.6 1998/12/13 07:56:06 pjanzen Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -59,7 +59,7 @@ commands read the given input and reformat it in the form of
punched cards, paper tape, or morse code, respectively.
Acceptable input are command line arguments or the standard input.
.Pp
-Available option:
+Available options:
.Bl -tag -width flag
.It Fl s
The
@@ -67,4 +67,18 @@ The
option for
.Nm morse
produces dots and dashes rather than words.
+.It Fl d
+The
+.Fl d
+option for
+.Nm morse
+decodes dot-dash morse (as generated by using the
+.Fl s
+option) back into text. A lowercase
+.Sq x
+is printed for undecipherable input; otherwise, text is returned uppercase.
+If the morse to be translated is given on the command line, it should be
+preceded by
+.Sq --
+to keep it from being mistaken for options.
.El