Make --help and --version information a bit more uniform.
authorGuy Harris <guy@alum.mit.edu>
Thu, 3 Jul 2014 08:45:32 +0000 (01:45 -0700)
committerGuy Harris <guy@alum.mit.edu>
Thu, 3 Jul 2014 08:46:01 +0000 (08:46 +0000)
commitb4ce352539ec1e88a8002c65a38cc3029860c0e0
treef2c702b2722c20464477e5f85cb5c80abab31915
parentd70e56a733a1d432dedc0dce7fbd992ef225d0c5
Make --help and --version information a bit more uniform.

Have --version print the version number, the copyright information, the
"compiled with" information, the "running on/with" information, and the
compiler information.

Have --help print the version number, a one-line summary of what the
program does, a reference to http://www.wireshark.org for more
information, a Usage: line, and a list of command-line options.

This means programs doing that don't need to include version.h; that's
left up to get_ws_vcs_version_info() to do.

Change-Id: Idac641bc10e4dfd04c9914d379b3a3e0cc5ca8cb
Reviewed-on: https://code.wireshark.org/review/2794
Reviewed-by: Guy Harris <guy@alum.mit.edu>
14 files changed:
CMakeLists.txt
Makefile.common
Makefile.nmake
capinfos.c
dumpcap.c
editcap.c
mergecap.c
reordercap.c
text2pcap.c
tfshark.c
tshark.c
ui/gtk/main.c
ui/qt/main.cpp
version_info.c