Skip to content

Commit 25f82ed

Browse files
committed
fix(indexer-framework): clap requires group name
## Description Clap `requires` clauses refer to other flags by their field name, not how they appear as a flag. ## Test plan The `clickhouse-sui-indexer` example failed to run because of this issue, and now it runs.
1 parent 08897ad commit 25f82ed

File tree

1 file changed

+1
-1
lines changed
  • crates/sui-indexer-alt-framework/src

1 file changed

+1
-1
lines changed

crates/sui-indexer-alt-framework/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub struct TaskArgs {
8181
///
8282
/// The framework ensures that tasked pipelines never commit checkpoints below the main
8383
/// pipeline’s pruner watermark. Requires `--reader-interval-ms`.
84-
#[arg(long, requires = "reader-interval-ms")]
84+
#[arg(long, requires = "reader_interval_ms")]
8585
task: Option<String>,
8686

8787
/// The interval in milliseconds at which each of the pipelines on a tasked indexer should

0 commit comments

Comments
 (0)