summaryrefslogtreecommitdiff
path: root/extras/hid2hci
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-13 01:47:56 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-13 01:47:56 +0200
commite48e2912023b5600d291904b0f7b0017387e8cb2 (patch)
treec2a4d569cbeca5102e89c0be1357d77aea0fe947 /extras/hid2hci
parentff2c503df091e6e4e9ab48cdb6df6ec8b7b525d0 (diff)
trivial cleanups
Diffstat (limited to 'extras/hid2hci')
-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);
}
}