Skip to content

Commit

Permalink
[fix] Swap short options for config and cooldown
Browse files Browse the repository at this point in the history
This change is meant to make the changes backwards compatible for the
user.

Signed-off-by: innocentzero <[email protected]>
  • Loading branch information
InnocentZero committed Mar 26, 2024
1 parent dc1781e commit 1e9a8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swhkd/src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ impl KeyboardState {
#[command(version, about, long_about = None)]
struct Args {
/// Set a custom config file path.
#[arg(short = 'C', long, value_name = "FILE")]
#[arg(short = 'c', long, value_name = "FILE")]
config: Option<PathBuf>,

/// Set a custom repeat cooldown duration. Default is 250ms.
#[arg(short, long)]
#[arg(short = 'C', long)]
cooldown: Option<u64>,

/// Enable Debug Mode
Expand Down

0 comments on commit 1e9a8a9

Please sign in to comment.