Renamed option to --no-batch to stay aligned with tag name

This commit is contained in:
Oleksandr Pavlyk
2026-02-02 12:28:39 -06:00
parent f1b9d44304
commit cff6df9bb2
2 changed files with 3 additions and 3 deletions

View File

@@ -115,7 +115,7 @@
* Applies to the most recent `--benchmark`, or all benchmarks if specified
before any `--benchmark` arguments.
* `--no-batched`
* `--no-batch`
* Do not run batched measurements even if enabled.
* Intended to shorten run-time when batched measurements are not of interest.
* Applied to the most recent `--benchmark`, or all benchrmarks if specified

View File

@@ -467,7 +467,7 @@ void option_parser::parse_range(option_parser::arg_iterator_t first,
this->enable_profile();
first += 1;
}
else if (arg == "--no-batched")
else if (arg == "--no-batch")
{
this->disable_batched();
first += 1;
@@ -772,7 +772,7 @@ void option_parser::disable_batched()
// If no active benchmark, save args as global
if (m_benchmarks.empty())
{
m_global_benchmark_args.push_back("--no-batched");
m_global_benchmark_args.push_back("--no-batch");
return;
}
benchmark_base &bench = *m_benchmarks.back();