Module Name:    src
Committed By:   wiz
Date:           Sun Aug 31 09:59:08 UTC 2014

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

Log Message:
Sort options.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/pcictl/pcictl.8
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/pcictl/pcictl.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/pcictl/pcictl.8
diff -u src/usr.sbin/pcictl/pcictl.8:1.12 src/usr.sbin/pcictl/pcictl.8:1.13
--- src/usr.sbin/pcictl/pcictl.8:1.12	Sun Aug 31 09:16:54 2014
+++ src/usr.sbin/pcictl/pcictl.8	Sun Aug 31 09:59:08 2014
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pcictl.8,v 1.12 2014/08/31 09:16:54 mrg Exp $
+.\"	$NetBSD: pcictl.8,v 1.13 2014/08/31 09:59:08 wiz Exp $
 .\"
 .\" Copyright 2001 Wasabi Systems, Inc.
 .\" All rights reserved.
@@ -55,8 +55,7 @@ on a PCI bus.
 The following commands are available:
 .Pp
 .Cm list
-.Op Fl n
-.Op Fl N
+.Op Fl Nn
 .Op Fl b Ar bus
 .Op Fl d Ar device
 .Op Fl f Ar function

Index: src/usr.sbin/pcictl/pcictl.c
diff -u src/usr.sbin/pcictl/pcictl.c:1.19 src/usr.sbin/pcictl/pcictl.c:1.20
--- src/usr.sbin/pcictl/pcictl.c:1.19	Sun Aug 31 09:16:54 2014
+++ src/usr.sbin/pcictl/pcictl.c	Sun Aug 31 09:59:08 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcictl.c,v 1.19 2014/08/31 09:16:54 mrg Exp $	*/
+/*	$NetBSD: pcictl.c,v 1.20 2014/08/31 09:59:08 wiz Exp $	*/
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@ static void	cmd_dump(int, char *[]);
 
 static const struct command commands[] = {
 	{ "list",
-	  "[-nN] [-b bus] [-d device] [-f function]",
+	  "[-Nn] [-b bus] [-d device] [-f function]",
 	  cmd_list,
 	  O_RDONLY },
 
@@ -163,7 +163,7 @@ cmd_list(int argc, char *argv[])
 	bus = -1;
 	dev = func = -1;
 
-	while ((ch = getopt(argc, argv, "nNb:d:f:")) != -1) {
+	while ((ch = getopt(argc, argv, "b:d:f:Nn")) != -1) {
 		switch (ch) {
 		case 'b':
 			bus = parse_bdf(optarg);

Reply via email to