summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2003-05-05 22:05:58 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2003-05-05 22:05:58 +0000
commit3a0bfe2f9895e062413c0718c6b8134f77d1acef (patch)
tree90e6156b0a45a45015bb377e4df6888acf9fddf8 /usr.bin
parentabca225368d79d4a51edd05004daf0eb9cecffa4 (diff)
document the new -f <mode> command line option.
ok jmc
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/mg.111
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/mg/mg.1 b/usr.bin/mg/mg.1
index 149dcda7362..e50bd622783 100644
--- a/usr.bin/mg/mg.1
+++ b/usr.bin/mg/mg.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mg.1,v 1.16 2003/01/06 17:04:09 deraadt Exp $
+.\" $OpenBSD: mg.1,v 1.17 2003/05/05 22:05:57 vincent Exp $
.\"
.Dd February 25, 2000
.Dt MG 1
@@ -8,7 +8,8 @@
.Nd emacs-like text editor
.Sh SYNOPSIS
.Nm mg
-.Op Ar options files
+.Op Ar options
+.Op Ar files
.Op Ar ...
.Sh DESCRIPTION
.Nm
@@ -21,12 +22,16 @@ It is compatible with emacs because there shouldn't
be any reason to learn more editor types than emacs or
.Xr vi 1 .
.Pp
-At present time only one option is supported:
+The options are as follows:
.Pp
.Bl -tag -width xxxxx -compact
.It Ar +number
Go to the line specified by number (do not insert
a space between the "+" sign and the number).
+.It Fl f Ar <mode>
+Run the mode command for all buffers created from
+arguments on the command line, including the
+scratch buffer and all files.
.El
.Pp
Normal editing commands are very similar to Gnu Emacs.