Skip to content

Commit cff6df9

Browse files
Renamed option to --no-batch to stay aligned with tag name
1 parent f1b9d44 commit cff6df9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/cli_help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
* Applies to the most recent `--benchmark`, or all benchmarks if specified
116116
before any `--benchmark` arguments.
117117

118-
* `--no-batched`
118+
* `--no-batch`
119119
* Do not run batched measurements even if enabled.
120120
* Intended to shorten run-time when batched measurements are not of interest.
121121
* Applied to the most recent `--benchmark`, or all benchrmarks if specified

nvbench/option_parser.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ void option_parser::parse_range(option_parser::arg_iterator_t first,
467467
this->enable_profile();
468468
first += 1;
469469
}
470-
else if (arg == "--no-batched")
470+
else if (arg == "--no-batch")
471471
{
472472
this->disable_batched();
473473
first += 1;
@@ -772,7 +772,7 @@ void option_parser::disable_batched()
772772
// If no active benchmark, save args as global
773773
if (m_benchmarks.empty())
774774
{
775-
m_global_benchmark_args.push_back("--no-batched");
775+
m_global_benchmark_args.push_back("--no-batch");
776776
return;
777777
}
778778
benchmark_base &bench = *m_benchmarks.back();

0 commit comments

Comments
 (0)