From 7e5dff9b37481832c3137dab62ab37a222ce6736 Mon Sep 17 00:00:00 2001 From: innocentzero Date: Mon, 25 Mar 2024 18:06:05 +0530 Subject: [PATCH] [fix] Swap short options for config and cooldown This change is meant to make the changes backwards compatible for the user. Signed-off-by: innocentzero --- swhkd/src/daemon.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swhkd/src/daemon.rs b/swhkd/src/daemon.rs index 18154a7..6c08a8b 100644 --- a/swhkd/src/daemon.rs +++ b/swhkd/src/daemon.rs @@ -48,11 +48,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, /// Set a custom repeat cooldown duration. Default is 250ms. - #[arg(short, long)] + #[arg(short = 'C', long)] cooldown: Option, /// Enable Debug Mode