diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-01-23 22:39:22 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-24 06:42:58 +0000 |
commit | 4f8b3f3d2a76d9afe9021dcb70f9abea5f595201 (patch) | |
tree | 64f6602ecb874ecb54af5a3cba6adba2f55bb4a4 /doc | |
parent | 5d38999b579f1b618e6bde8a7d752f275aca1fc5 (diff) |
By default, don't stop after a read error.
For close to 10 years, we have defaulted not to stop processing on an
open error; default not to stop processing on a read error, either. -C
causes us to stop for both.
Bug: 15433
Change-Id: I5cd239c160d0ff85eb0425ca4b172532a4659fd3
Reviewed-on: https://code.wireshark.org/review/31710
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/capinfos.pod | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/capinfos.pod b/doc/capinfos.pod index 32c8274c4d..62539df56a 100644 --- a/doc/capinfos.pod +++ b/doc/capinfos.pod @@ -124,13 +124,15 @@ Displays the number of packets in the capture file. =item -C Cancel processing any additional files if and -when capinfos should fail to open an input file. -By default capinfos will attempt to open each and -every file name argument. +when capinfos fails to open an input file +or gets an error reading an input file. +By default capinfos will continue processing files +even if it gets an error opening or reading a file. Note: An error message will be written to stderr -whenever capinfos fails to open a file regardless -of whether the -C option is specified or not. +whenever capinfos fails to open a file or gets +an error reading from a file regardless whether +the -C option is specified or not. Upon exit, capinfos will return an error status if any errors occurred during processing. |