forked from osmocom/wireshark
spelling: "two pass" -> two-pass
This commit is contained in:
parent
2155a725e1
commit
b60240a8a6
|
@ -17,7 +17,7 @@ def dfilter_cmd(cmd_tshark, capture_file, request):
|
|||
]
|
||||
if frame_number:
|
||||
cmd.extend([
|
||||
"-2", # two pass mode
|
||||
"-2", # two-pass mode
|
||||
"--selected-frame={}".format(frame_number)
|
||||
])
|
||||
cmd.extend([
|
||||
|
|
|
@ -572,7 +572,7 @@ main(int argc, char *argv[])
|
|||
/* Now get our args */
|
||||
while ((opt = ws_getopt_long(argc, argv, optstring, long_options, NULL)) != -1) {
|
||||
switch (opt) {
|
||||
case '2': /* Perform two pass analysis */
|
||||
case '2': /* Perform two-pass analysis */
|
||||
perform_two_pass_analysis = TRUE;
|
||||
break;
|
||||
case 'C':
|
||||
|
|
|
@ -28,7 +28,7 @@ DONE=false
|
|||
# Currently running children
|
||||
RUNNER_PIDS=
|
||||
|
||||
# Perform a two pass analysis on the capture file?
|
||||
# Perform a two-pass analysis on the capture file?
|
||||
TWO_PASS=
|
||||
|
||||
# Specific config profile ?
|
||||
|
|
4
tshark.c
4
tshark.c
|
@ -1171,7 +1171,7 @@ main(int argc, char *argv[])
|
|||
/* Now get our args */
|
||||
while ((opt = ws_getopt_long(argc, argv, optstring, long_options, NULL)) != -1) {
|
||||
switch (opt) {
|
||||
case '2': /* Perform two pass analysis */
|
||||
case '2': /* Perform two-pass analysis */
|
||||
if(epan_auto_reset){
|
||||
cmdarg_err("-2 does not support auto session reset.");
|
||||
arg_error=TRUE;
|
||||
|
@ -1180,7 +1180,7 @@ main(int argc, char *argv[])
|
|||
break;
|
||||
case 'M':
|
||||
if(perform_two_pass_analysis){
|
||||
cmdarg_err("-M does not support two pass analysis.");
|
||||
cmdarg_err("-M does not support two-pass analysis.");
|
||||
arg_error=TRUE;
|
||||
}
|
||||
epan_auto_reset_count = get_positive_int(ws_optarg, "epan reset count");
|
||||
|
|
Loading…
Reference in New Issue