summaryrefslogtreecommitdiff
path: root/extras/hid2hci/hid2hci.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hid2hci/hid2hci.c')
-rw-r--r--extras/hid2hci/hid2hci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/extras/hid2hci/hid2hci.c b/extras/hid2hci/hid2hci.c
index 839c4fbce7..98e60d9ac1 100644
--- a/extras/hid2hci/hid2hci.c
+++ b/extras/hid2hci/hid2hci.c
@@ -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);
}
}