summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.