Skip to content

Commit 6769362

Browse files
committed
Rename --loop-interval to --loop
1 parent 3c2a61b commit 6769362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ use std::time::{Duration, Instant};
1616
struct Opts {
1717
/// Loop every <DURATION>, instead of shutting down once completed (default <DURATION>: 1m)
1818
#[clap(
19-
long,
19+
long = "loop",
20+
value_name = "INTERVAL",
2021
default_missing_value = "1m",
2122
num_args = 0..=1,
2223
require_equals = true,
23-
value_name = "DURATION",
2424
)]
2525
loop_interval: Option<stackable_operator::time::Duration>,
2626
}

0 commit comments

Comments
 (0)