Build Information:
C:\Program Files (x86)\Wireshark>"C:\Program Files (x86)\Wireshark\dumpcap.exe" -h
Dumpcap (Wireshark) 2.4.2 (v2.4.2-0-gb6c63ae086)
Capture network packets and dump them into a pcapng or pcap file.
See https://www.wireshark.org for more information.
Usage: dumpcap [options] ...
C:\Program Files (x86)\Wireshark>"C:\Program Files (x86)\Wireshark\tshark.exe" -h
TShark (Wireshark) 2.4.2 (v2.4.2-0-gb6c63ae086)
Dump and analyze network traffic.
See https://www.wireshark.org for more information.
Usage: tshark [options] ...
Dear reader,
grahamb answered:
Dumpcap doesn't support a -Q flag, hence the error. Adding support to dumpcap for that would require an Enhancement request on the Wireshark Bugzilla.
My question was:
I used the following line for getting the results in text file and it works fine. i.e. No notification messages in the error channel.
I believe this bug report is an enhancement request for the -Q option to be implemented for dumpcap the same as it is implemented for tshark, so I've re-categorized the bug to reflect this.