mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 21:54:33 +08:00
hcidump: Just default to verbose parsing and remove the option
This commit is contained in:
parent
4fd47e9f91
commit
c89eff9be0
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user