summaryrefslogtreecommitdiffstats
path: root/mergecap.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:15:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:15:59 +0000
commit489b73a4c69e01167e693d7153f973105c613c30 (patch)
tree5d72d5ab3cf7dd8efa4e1733579d216d79c8ad66 /mergecap.c
parentReleasing progress-linux version 4.2.5-2~progress7.99u1. (diff)
downloadwireshark-489b73a4c69e01167e693d7153f973105c613c30.tar.xz
wireshark-489b73a4c69e01167e693d7153f973105c613c30.zip
Merging upstream version 4.2.6.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mergecap.c')
-rw-r--r--mergecap.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mergecap.c b/mergecap.c
index 41be4e22..7a08390d 100644
--- a/mergecap.c
+++ b/mergecap.c
@@ -416,6 +416,15 @@ main(int argc, char *argv[])
cfile_close_failure_message(out_filename, err, err_info);
break;
+ case MERGE_ERR_INVALID_OPTION:
+ if (err_info) {
+ cmdarg_err("%s", err_info);
+ }
+ else {
+ cmdarg_err("Unspecified error with merge option");
+ }
+ break;
+
default:
cmdarg_err("Unknown merge_files error %d", status);
break;