Skip to content

Commit

Permalink
feat: allow --interval in any order #18
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Dec 20, 2024
1 parent 215a0e9 commit 8c3fddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct Cli {
command: Option<Commands>,

/// Update interval in milliseconds
#[arg(short, long, default_value_t = 1000)]
#[arg(short, long, global = true, default_value_t = 1000)]
interval: u32,
}

Expand Down

0 comments on commit 8c3fddd

Please sign in to comment.