Send the output of the -D and -L options to the standard output rather
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 25 Apr 2013 05:47:11 +0000 (05:47 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 25 Apr 2013 05:47:11 +0000 (05:47 +0000)
commit946bb1114d2555000478f1d542332d19d82ef1c3
tree3eebb55d146d2cfc2e74d85ff496afa0c6dc0327
parentc1f4afe652a8df8ac4126e0a83e366d6615410c2
Send the output of the -D and -L options to the standard output rather
than the standard error.

In Wireshark on Windows, create a console before doing so and destroy it
before exiting.  Don't do that in TShark or dumpcap, as those are
console-mode programs on Windows.

This should fix bug 8609 and still allow "wireshark -D" and "wireshark
-L" to work when the standard output isn't redirected.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@49025 f5534014-38df-0310-8fa8-9805f1628bb7
Makefile.common
capture_opts.c
console_io.h [deleted file]
dumpcap.c
tshark.c
ui/gtk/main.c
ui/qt/main.cpp
ui/win32/console_win32.c