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>
This commit is contained in:
Dario Lombardo 2019-06-08 22:59:20 +02:00 committed by Michael Mann
parent 461e759d22
commit 5f105526af
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;