spelling: "two pass" -> two-pass

This commit is contained in:
Chuck Craft 2022-08-21 08:00:56 -05:00 committed by A Wireshark GitLab Utility
parent 2155a725e1
commit b60240a8a6
4 changed files with 5 additions and 5 deletions

View File

@ -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([

View File

@ -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':

View File

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

View File

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