=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/mg.1,v retrieving revision 1.97 retrieving revision 1.98 diff -u -r1.97 -r1.98 --- src/usr.bin/mg/mg.1 2015/12/22 15:33:16 1.97 +++ src/usr.bin/mg/mg.1 2015/12/24 09:07:47 1.98 @@ -1,7 +1,7 @@ -.\" $OpenBSD: mg.1,v 1.97 2015/12/22 15:33:16 lum Exp $ +.\" $OpenBSD: mg.1,v 1.98 2015/12/24 09:07:47 lum Exp $ .\" This file is in the public domain. .\" -.Dd $Mdocdate: December 22 2015 $ +.Dd $Mdocdate: December 24 2015 $ .Dt MG 1 .Os .Sh NAME @@ -9,7 +9,7 @@ .Nd emacs-like text editor .Sh SYNOPSIS .Nm mg -.Op Fl n +.Op Fl nR .Op Fl f Ar mode .Op + Ns Ar number .Op Ar @@ -40,6 +40,8 @@ scratch buffer and all files. .It Fl n Turn off backup file generation. +.It Fl R +Files specified on the command line will be opened read-only. .El .Sh WINDOWS AND BUFFERS When a file is loaded into