summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dumpcap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 50ab9fbfbc..1f7da91e69 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -4719,7 +4719,11 @@ DIAG_ON(cast-qual)
}
if (run_once_args > 1) {
- cmdarg_err("Only one of -D, -L, or -S may be supplied.");
+#ifdef HAVE_BPF_IMAGE
+ cmdarg_err("Only one of -D, -L, -d, -k, or -S may be supplied.");
+#else
+ cmdarg_err("Only one of -D, -L, -k, or -S may be supplied.");
+#endif
exit_main(1);
} else if (run_once_args == 1) {
/* We're supposed to print some information, rather than