aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tfshark.c2
-rw-r--r--tshark.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tfshark.c b/tfshark.c
index 1755240082..e079749c75 100644
--- a/tfshark.c
+++ b/tfshark.c
@@ -800,7 +800,7 @@ main(int argc, char *argv[])
line arguments, treat them as the tokens of a display filter. */
if (optind < argc) {
if (dfilter != NULL) {
- cmdarg_err("Display filters were specified both with \"-d\" "
+ cmdarg_err("Display filters were specified both with \"-Y\" "
"and with additional command-line arguments.");
exit_status = INVALID_OPTION;
goto clean_exit;
diff --git a/tshark.c b/tshark.c
index bbfc343cd7..b19cbf8dca 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1505,7 +1505,7 @@ main(int argc, char *argv[])
if (optind < argc) {
if (cf_name != NULL) {
if (dfilter != NULL) {
- cmdarg_err("Display filters were specified both with \"-d\" "
+ cmdarg_err("Display filters were specified both with \"-Y\" "
"and with additional command-line arguments.");
exit_status = INVALID_OPTION;
goto clean_exit;