Wireshark-commits: [Wireshark-commits] master-1.12 53aae65: Allow multiple -D/-L/-d/-S flags, only
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 17 Mar 2015 20:12:09 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=53aae6560dd09ddee0b41308b57431b702da058a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

53aae65 by Guy Harris (guy@xxxxxxxxxxxx):

    Allow multiple -D/-L/-d/-S flags, only allow one -k flag.
    
    Multiple instances of a single flag from -D/-L/-d/-S should behave like
    a single instance of that flag; -D plus -L, for example, is not
    supported, but -D plus another -D should be.  -k, however, takes an
    argument, and we only support one.
    
    Change-Id: I8baced346fbffd75f8d768497213f67bb9a0555f
    Reviewed-on: https://code.wireshark.org/review/7723
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 7a14f89f12f72bf14b4fc69f9a0c4a4974bae089)
    Reviewed-on: https://code.wireshark.org/review/7724
    

Actions performed:

    from  0eba96a   Update an error message to reflect all the run-dumpcap-and-quit arguments.
    adds  53aae65   Allow multiple -D/-L/-d/-S flags, only allow one -k flag.


Summary of changes:
 dumpcap.c |   37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)