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:
parent
461e759d22
commit
5f105526af
|
@ -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;
|
||||
|
|
2
tshark.c
2
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;
|
||||
|
|
Loading…
Reference in New Issue