hcidump: Just default to verbose parsing and remove the option

This commit is contained in:
Marcel Holtmann 2010-07-12 19:28:21 -03:00
parent 4fd47e9f91
commit c89eff9be0
2 changed files with 2 additions and 7 deletions

View File

@ -102,9 +102,6 @@ Extract PPP traffic with pppdump format.
.BR -A ", " "\-\^\-audio=" "<file>"
Extract SCO audio data.
.TP
.BR -V ", " "\-\^\-verbose"
Enables a more verbose decoding of every packet.
.TP
.BR -Y ", " "\-\^\-novendor"
Don't display any vendor commands or events and don't show any pin code or link key in plain text.
.TP

View File

@ -1000,10 +1000,6 @@ int main(int argc, char *argv[])
audio_file = strdup(optarg);
break;
case 'V':
flags |= DUMP_VERBOSE;
break;
case 'Y':
flags |= DUMP_NOVENDOR;
break;
@ -1046,11 +1042,13 @@ int main(int argc, char *argv[])
switch (mode) {
case PARSE:
flags |= DUMP_VERBOSE;
init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
process_frames(device, open_socket(device, flags), -1, flags);
break;
case READ:
flags |= DUMP_VERBOSE;
init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
read_dump(open_file(dump_file, mode, flags));
break;