diff options
author | Chuck Craft <bubbasnmp@gmail.com> | 2021-03-13 15:28:41 -0600 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-02-26 17:59:37 +0000 |
commit | 393c2ec9f223e5bda4586c02a4b9495d3fea63ae (patch) | |
tree | 668f9c327d041f1f1fe0f7b12f76d441267a7545 | |
parent | 7baded473f219accb18d5d19657a7969ed8f88e3 (diff) |
tshark: -G only accepted as first option
-rw-r--r-- | tshark.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"); |