summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pciconf/pciconf.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/pciconf/pciconf.c b/usr.sbin/pciconf/pciconf.c
index a6ac315..99135f4 100644
--- a/usr.sbin/pciconf/pciconf.c
+++ b/usr.sbin/pciconf/pciconf.c
@@ -97,16 +97,24 @@ main(int argc, char **argv)
listmode = readmode = writemode = attachedmode = caps = verbose = byte = isshort = 0;
- while ((c = getopt(argc, argv, "aclrwbhv")) != -1) {
+ while ((c = getopt(argc, argv, "abchlrwv")) != -1) {
switch(c) {
case 'a':
attachedmode = 1;
break;
+ case 'b':
+ byte = 1;
+ break;
+
case 'c':
caps = 1;
break;
+ case 'h':
+ isshort = 1;
+ break;
+
case 'l':
listmode = 1;
break;
@@ -119,14 +127,6 @@ main(int argc, char **argv)
writemode = 1;
break;
- case 'b':
- byte = 1;
- break;
-
- case 'h':
- isshort = 1;
- break;
-
case 'v':
verbose = 1;
break;
OpenPOWER on IntegriCloud