summaryrefslogtreecommitdiffstats
path: root/mergecap.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:15:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:15:53 +0000
commit41ee6846b4605bf50f1f5b12acffc71a76257e5d (patch)
tree78044e6ed77e26ebcdb14ac483f29d508d88a92d /mergecap.c
parentAdding debian version 4.2.5-2. (diff)
downloadwireshark-41ee6846b4605bf50f1f5b12acffc71a76257e5d.tar.xz
wireshark-41ee6846b4605bf50f1f5b12acffc71a76257e5d.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;