summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hidd/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/hidd/main.c b/hidd/main.c
index b684cac7..b1fe2cb4 100644
--- a/hidd/main.c
+++ b/hidd/main.c
@@ -614,6 +614,7 @@ static struct option main_options[] = {
{ "nosdp", 0, 0, 'D' },
{ "nocheck", 0, 0, 'Z' },
{ "bootonly", 0, 0, 'B' },
+ { "hidonly", 0, 0, 'H' },
{ "show", 0, 0, 'l' },
{ "list", 0, 0, 'l' },
{ "server", 0, 0, 'd' },
@@ -644,7 +645,7 @@ int main(int argc, char *argv[])
bacpy(&bdaddr, BDADDR_ANY);
- while ((opt = getopt_long(argc, argv, "+i:nt:b:MEDZBldsc:k:Ku:h", main_options, NULL)) != -1) {
+ while ((opt = getopt_long(argc, argv, "+i:nt:b:MEDZBHldsc:k:Ku:h", main_options, NULL)) != -1) {
switch(opt) {
case 'i':
if (!strncasecmp(optarg, "hci", 3))
@@ -679,6 +680,9 @@ int main(int argc, char *argv[])
case 'B':
bootonly = 1;
break;
+ case 'H':
+ fakehid = 0;
+ break;
case 'l':
mode = SHOW;
break;