forked from osmocom/wireshark
tshark: -G only accepted as first option
This commit is contained in:
parent
7baded473f
commit
393c2ec9f2
5
tshark.c
5
tshark.c
|
@ -1218,6 +1218,11 @@ main(int argc, char *argv[])
|
|||
goto clean_exit;
|
||||
}
|
||||
break;
|
||||
case 'G':
|
||||
cmdarg_err("-G only valid as first option");
|
||||
exit_status = INVALID_OPTION;
|
||||
goto clean_exit;
|
||||
break;
|
||||
case 'j':
|
||||
if (protocolfilter) {
|
||||
cmdarg_err("-j or -J was already specified! Overwriting previous protocol filter");
|
||||
|
|
Loading…
Reference in New Issue