aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-06-08 22:59:20 +0200
committerMichael Mann <mmann78@netscape.net>2019-06-09 12:08:52 +0000
commit5f105526af2a5023d9dab1f2a1fb912ea3922bf0 (patch)
treefccfca0878cd7078e269487589b3a9f0a4d7e7eb
parent461e759d22656deea4643483741e924660abd226 (diff)
tshark/tfshark: fix error message.
Bug: 15825 Change-Id: Iec8dff38dd89e3947f3fe7053e38101c3ad7b1b2 Reviewed-on: https://code.wireshark.org/review/33523 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
-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;