From b60240a8a64fad0f6345033dea114a3878ee2bbf Mon Sep 17 00:00:00 2001 From: Chuck Craft Date: Sun, 21 Aug 2022 08:00:56 -0500 Subject: [PATCH] spelling: "two pass" -> two-pass --- test/suite_dfilter/dfiltertest.py | 2 +- tfshark.c | 2 +- tools/fuzz-test.sh | 2 +- tshark.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/suite_dfilter/dfiltertest.py b/test/suite_dfilter/dfiltertest.py index b69ef3d275..9f65ef1b3a 100644 --- a/test/suite_dfilter/dfiltertest.py +++ b/test/suite_dfilter/dfiltertest.py @@ -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([ diff --git a/tfshark.c b/tfshark.c index c4630ce456..6d78904646 100644 --- a/tfshark.c +++ b/tfshark.c @@ -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': diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index 028e05fd8f..e1dfef74e9 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -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 ? diff --git a/tshark.c b/tshark.c index 9d098dc528..7cb0692868 100644 --- a/tshark.c +++ b/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");