Refactor command-line handling of GUI options.
authorMichael Mann <mmann78@netscape.net>
Sat, 18 Jun 2016 20:49:23 +0000 (16:49 -0400)
committerAnders Broman <a.broman58@gmail.com>
Sun, 19 Jun 2016 05:56:45 +0000 (05:56 +0000)
commit9b5b4443cf50aa0e5d98d8129a5c65c6c76a838b
treea481f214d8452490e5cb0c00255e51f442ce8bc2
parentdeef1dc1ff22183c0b70ea65775c23c404c641bb
Refactor command-line handling of GUI options.

Both GTK and Qt both use the same command-line options, so refactor
the parsing and (possibly) applying of those arguments to a single
location.

Ping-Bug: 12546
Change-Id: Ib31e576c509c5d3d21c33d3247640d9f9c68661b
Reviewed-on: https://code.wireshark.org/review/16006
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
ui/CMakeLists.txt
ui/Makefile.common
ui/commandline.c [new file with mode: 0644]
ui/commandline.h [new file with mode: 0644]
ui/gtk/about_dlg.c
ui/gtk/main.c
ui/gtk/main.h
ui/qt/about_dialog.cpp
ui/qt/wireshark_application.h
wireshark-qt.cpp