summaryrefslogtreecommitdiff
path: root/usr.sbin/sysmerge
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-12-17 09:17:48 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-12-17 09:17:48 +0000
commit4925714e6c0857d9f98a4bf2ab1674c0aa870073 (patch)
tree877b8c48875598e08ed1f274f2bc0473c04fcafd /usr.sbin/sysmerge
parentf50ab3464b1d786cc6352fec49d74ecc97b83ea8 (diff)
more on editors; ok ajacoutot
Diffstat (limited to 'usr.sbin/sysmerge')
-rw-r--r--usr.sbin/sysmerge/sysmerge.826
1 files changed, 21 insertions, 5 deletions
diff --git a/usr.sbin/sysmerge/sysmerge.8 b/usr.sbin/sysmerge/sysmerge.8
index 17db83108ba..ae07f8523a6 100644
--- a/usr.sbin/sysmerge/sysmerge.8
+++ b/usr.sbin/sysmerge/sysmerge.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysmerge.8,v 1.12 2008/12/16 22:23:55 ajacoutot Exp $
+.\" $OpenBSD: sysmerge.8,v 1.13 2008/12/17 09:17:47 jmc Exp $
.\"
.\" Copyright (c) 2008 Antoine Jacoutot <ajacoutot@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 16 2008 $
+.Dd $Mdocdate: December 17 2008 $
.Dt SYSMERGE 8
.Os
.Sh NAME
@@ -109,9 +109,9 @@ mode.
.Pp
.Nm
will work through the fileset,
-offering the chance to merge any differences
-using ${MERGE_CMD} as well as edit the merged file with your favorite
-editor defined by the ${VISUAL} or ${EDITOR} environment variables.
+offering the chance to merge any differences using ${MERGE_CMD}.
+Merged files may be edited using a default editor,
+or one defined by the ${VISUAL} or ${EDITOR} environment variables.
Files may also be left to deal with at a later date.
Should any problems occur,
such as a failure to upgrade a file,
@@ -178,6 +178,22 @@ to ${FETCH_CMD}.
Directory in which to merge and install files.
If unset, this defaults to
.Pa / .
+.It Ev EDITOR , VISUAL
+Specifies an editor to use.
+If both
+.Ev EDITOR
+and
+.Ev VISUAL
+are set,
+.Ev VISUAL
+takes precedence.
+If neither
+.Ev EDITOR
+nor
+.Ev VISUAL
+are set,
+the default is
+.Xr vi 1 .
.It Ev FETCH_CMD
Command used to fetch remote files.
Defaults to