aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-07-12 19:52:04 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-07-12 19:52:04 -0300
commit023e9a471e2241b470fe8e8661caff9ed21e8135 (patch)
tree75a0887b41e86bd2f08830fa464c0be29982732e
parent74082fe58dda211123657f55a51dcaac65798fea (diff)
downloadbluez-hcidump-023e9a471e2241b470fe8e8661caff9ed21e8135.tar.gz
bluez-hcidump-023e9a471e2241b470fe8e8661caff9ed21e8135.tar.xz
bluez-hcidump-023e9a471e2241b470fe8e8661caff9ed21e8135.zip
Fix unneeded single character option parsing
-rw-r--r--src/hcidump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hcidump.c b/src/hcidump.c
index 33ca1bc..b8eb1e4 100644
--- a/src/hcidump.c
+++ b/src/hcidump.c
@@ -918,7 +918,7 @@ int main(int argc, char *argv[])
int defcompid = DEFAULT_COMPID;
int opt, pppdump_fd = -1, audio_fd = -1;
- while ((opt=getopt_long(argc, argv, "i:l:p:m:w:r:d:taxXRC:H:O:P:D:A:BVYZN46hv", main_options, NULL)) != -1) {
+ while ((opt=getopt_long(argc, argv, "i:l:p:m:w:r:d:taxXRC:H:O:P:D:A:YZ46hv", main_options, NULL)) != -1) {
switch(opt) {
case 'i':
if (strcasecmp(optarg, "none") && strcasecmp(optarg, "system"))