chiark / gitweb /
Merge branch 'docs/README' of git://github.com/mfwitten/udev
[elogind.git] / extras / hid2hci / hid2hci.c
index 839c4fbce76524203fd7c677ad91c617e783b3f0..98e60d9ac16b664791220f87b8999c7c2c563541 100644 (file)
@@ -243,7 +243,7 @@ int main(int argc, char *argv[])
        for (;;) {
                int option;
 
-               option = getopt_long(argc, argv, "m:p:M:qh", options, NULL);
+               option = getopt_long(argc, argv, "m:p:M:h", options, NULL);
                if (option == -1)
                        break;
 
@@ -277,8 +277,6 @@ int main(int argc, char *argv[])
                        break;
                case 'h':
                        usage(NULL);
-               default:
-                       exit(1);
                }
        }