summaryrefslogtreecommitdiff
path: root/games/bcd
diff options
context:
space:
mode:
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