Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 25bbbd7: Give an error if an output file isn't specif

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 13 Nov 2018 23:06:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=25bbbd7c5c031ca166e48141457c2135f465c8b6
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

25bbbd7 by Guy Harris (guy@xxxxxxxxxxxx):

    Give an error if an output file isn't specified.
    
    Just silently not bothering to do any work isn't all that useful in that
    case; giving the usage message indicates that you need both input and
    output files.
    
    Change-Id: I9512d3e45e1e9a9d4bccb28b49aeea8c12ad0100
    Reviewed-on: https://code.wireshark.org/review/30614
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  ec95ae9   tshark: Print the packets' comments in the expert info
     add  25bbbd7   Give an error if an output file isn't specified.


Summary of changes:
 editcap.c | 783 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 390 insertions(+), 393 deletions(-)