Module Name:    src
Committed By:   wiz
Date:           Sun Oct  7 20:30:50 UTC 2018

Modified Files:
        src/usr.sbin/vnconfig: vnconfig.8 vnconfig.c

Log Message:
Sort options.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/vnconfig/vnconfig.8
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/vnconfig/vnconfig.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/vnconfig/vnconfig.8
diff -u src/usr.sbin/vnconfig/vnconfig.8:1.44 src/usr.sbin/vnconfig/vnconfig.8:1.45
--- src/usr.sbin/vnconfig/vnconfig.8:1.44	Sun Oct  7 11:51:26 2018
+++ src/usr.sbin/vnconfig/vnconfig.8	Sun Oct  7 20:30:50 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: vnconfig.8,v 1.44 2018/10/07 11:51:26 mlelstv Exp $
+.\"	$NetBSD: vnconfig.8,v 1.45 2018/10/07 20:30:50 wiz Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -70,7 +70,7 @@
 .Sh SYNOPSIS
 .Nm
 .\" Fcf:lm:rt:uvz
-.Op Fl crivz
+.Op Fl cirvz
 .Op Fl f Ar disktab
 .Op Fl t Ar typename
 .Ar vnode_disk
@@ -144,6 +144,9 @@ option should look up in
 .Ar disktab
 instead of in
 .Pa /etc/disktab .
+.It Fl i
+Configure the device to use regular file I/O even when direct I/O using
+bmap/strategy would be possible.
 .It Fl l
 List the vnd devices and indicate which ones are in use.
 If one or more specific
@@ -168,9 +171,6 @@ is set to 0,
 then only vnd devices currently in use will be shown.
 .It Fl r
 Configure the device as read-only.
-.It Fl i
-Configure the device to use regular file I/O even when direct I/O using
-bmap/strategy would be possible.
 .It Fl t Ar typename
 If configuring the device, look up
 .Ar typename

Index: src/usr.sbin/vnconfig/vnconfig.c
diff -u src/usr.sbin/vnconfig/vnconfig.c:1.47 src/usr.sbin/vnconfig/vnconfig.c:1.48
--- src/usr.sbin/vnconfig/vnconfig.c:1.47	Sun Oct  7 11:51:26 2018
+++ src/usr.sbin/vnconfig/vnconfig.c	Sun Oct  7 20:30:50 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: vnconfig.c,v 1.47 2018/10/07 11:51:26 mlelstv Exp $	*/
+/*	$NetBSD: vnconfig.c,v 1.48 2018/10/07 20:30:50 wiz Exp $	*/
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -432,7 +432,7 @@ usage(void)
 {
 	const char *p = getprogname();
 	(void)fprintf(stderr, 
-	    "Usage: %s [-crivz] [-f dsktab] [-t type] vnode_disk"
+	    "Usage: %s [-cirvz] [-f dsktab] [-t type] vnode_disk"
 		" reg-file [geomspec]\n"
 	    "       %s -u [-Fv] vnode_disk\n"
 	    "       %s -l [-m num | vnode_disk...]\n", p, p, p);

Reply via email to