Wireshark-commits: [Wireshark-commits] master b4ce352: Make --help and --version information a bit
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 3 Jul 2014 08:46:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b4ce352539ec1e88a8002c65a38cc3029860c0e0
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b4ce352 by Guy Harris (guy@xxxxxxxxxxxx):

    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@xxxxxxxxxxxx>
    

Actions performed:

    from  d70e56a   Revert to 3ms if we don't have the handshake
    adds  b4ce352   Make --help and --version information a bit more uniform.


Summary of changes:
 CMakeLists.txt  |    9 +--
 Makefile.common |   21 ++++---
 Makefile.nmake  |    7 ---
 capinfos.c      |  100 +++++++++++++++++++++++--------
 dumpcap.c       |   66 +++++++++++++++++---
 editcap.c       |  102 +++++++++++++++++++++++--------
 mergecap.c      |   96 ++++++++++++++++++++++-------
 reordercap.c    |  100 +++++++++++++++++++++++--------
 text2pcap.c     |  180 +++++++++++++++++++++++++++++++++++++++----------------
 tfshark.c       |   37 +++++++++++-
 tshark.c        |   66 ++++++++++++++++++--
 ui/gtk/main.c   |   62 +++++++++++++++++--
 ui/qt/main.cpp  |   61 +++++++++++++++++--
 version_info.c  |   50 +---------------
 14 files changed, 715 insertions(+), 242 deletions(-)