Wireshark-commits: [Wireshark-commits] master d3eb10c: Fix error checking for --inject-secrets argu

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 22 Jan 2019 05:26:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d3eb10c2c1d8e69d13c82bfcbe5339cbae225370
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

d3eb10c by Guy Harris (guy@xxxxxxxxxxxx):

    Fix error checking for --inject-secrets argument.
    
    If there was no secrets type specified, say so.  Otherwise, if the
    secrets type wasn't valid, report the correct string as the invalid
    secrets type.
    
    Change-Id: I3cd7d419ce3577fc176a256069456c5b49e81608
    Reviewed-on: https://code.wireshark.org/review/31667
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  079fbb8   editcap: document --inject-secrets in --help
     add  d3eb10c   Fix error checking for --inject-secrets argument.


Summary of changes:
 editcap.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)