Skip to content

Commit 8c3fddd

Browse files
committed
feat: allow --interval in any order #18
1 parent 215a0e9 commit 8c3fddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct Cli {
3232
command: Option<Commands>,
3333

3434
/// Update interval in milliseconds
35-
#[arg(short, long, default_value_t = 1000)]
35+
#[arg(short, long, global = true, default_value_t = 1000)]
3636
interval: u32,
3737
}
3838

0 commit comments

Comments
 (0)