summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Coulter <mjc@cvs.openbsd.org>2004-07-26 16:25:11 +0000
committerMichael Coulter <mjc@cvs.openbsd.org>2004-07-26 16:25:11 +0000
commit8dc7425a02200fd0354b8168093fb6223df45bcd (patch)
tree91ee286e604ef8989d83fb219ea0c2116a5ac916
parent37bfbdfa1b4bfcea197165ced4da4c898d583703 (diff)
document behaviour of mg +-number file
ok vincent@ better wording from jmc@
-rw-r--r--usr.bin/mg/mg.15
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mg/mg.1 b/usr.bin/mg/mg.1
index 830e1d9bc1a..b4e84ba98dd 100644
--- a/usr.bin/mg/mg.1
+++ b/usr.bin/mg/mg.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mg.1,v 1.19 2003/09/02 18:50:06 jmc Exp $
+.\" $OpenBSD: mg.1,v 1.20 2004/07/26 16:25:10 mjc Exp $
.\"
.Dd February 25, 2000
.Dt MG 1
@@ -28,6 +28,9 @@ The options are as follows:
.It Ar +number
Go to the line specified by number (do not insert
a space between the "+" sign and the number).
+If a negative number is specified, the line number counts
+backwards from the end of the file i.e. +-1 will be the last
+line of the file, +-2 will be second last, and so on.
.It Fl f Ar <mode>
Run the mode command for all buffers created from
arguments on the command line, including the