From cff6df9bb23c903bf3272f256af49ed5afebc276 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk <21087696+oleksandr-pavlyk@users.noreply.github.com> Date: Mon, 2 Feb 2026 12:28:39 -0600 Subject: [PATCH] Renamed option to --no-batch to stay aligned with tag name --- docs/cli_help.md | 2 +- nvbench/option_parser.cu | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/cli_help.md b/docs/cli_help.md index 8313adb..43656a6 100644 --- a/docs/cli_help.md +++ b/docs/cli_help.md @@ -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 diff --git a/nvbench/option_parser.cu b/nvbench/option_parser.cu index 0957ce5..530ae94 100644 --- a/nvbench/option_parser.cu +++ b/nvbench/option_parser.cu @@ -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();