Wireshark-commits: [Wireshark-commits] master 6b3391c: Regularize the help output of programs.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 3 Jul 2014 02:29:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6b3391c60ab4302ebe06baaaecad25210b3edbed
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6b3391c by Guy Harris (guy@xxxxxxxxxxxx):

    Regularize the help output of programs.
    
    Only print to the standard output, and only give the version
    information, if a "print help" command-line option is specified.
    Otherwise, leave out the version information, and print to the standard
    error.
    
    Leave out the copyright information; it's extra cruft, and
    
    	http://www.gnu.org/prep/standards/html_node/_002d_002dhelp.html
    
    doesn't say anything about it (and bash, at least, doesn't print it).
    
    Change-Id: Ic5029ccf96e096453f3bd38383cc2dd355542e8a
    Reviewed-on: https://code.wireshark.org/review/2789
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  66c342e   Regularize the first line of version output.
    adds  6b3391c   Regularize the help output of programs.


Summary of changes:
 dumpcap.c      |   22 +++++++---------------
 rawshark.c     |   26 ++++++++------------------
 tfshark.c      |   26 ++++++++------------------
 tshark.c       |   26 ++++++++------------------
 ui/gtk/main.c  |   10 ++++------
 ui/qt/main.cpp |   12 +++++-------
 6 files changed, 40 insertions(+), 82 deletions(-)