From 349dbb90bc6df1dc89b9b14eb4e445b98ae43df3 Mon Sep 17 00:00:00 2001 From: royalpinto007 Date: Mon, 1 Jan 2024 12:52:32 +0530 Subject: [PATCH] fix: arg macro --- coffee_cmd/src/cmd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coffee_cmd/src/cmd.rs b/coffee_cmd/src/cmd.rs index c2c8ae48..4af2a692 100644 --- a/coffee_cmd/src/cmd.rs +++ b/coffee_cmd/src/cmd.rs @@ -29,7 +29,7 @@ pub enum CoffeeCommand { verbose: bool, #[arg(short, long, action = clap::ArgAction::SetTrue)] dynamic: bool, - #[arg(short, long, action = clap::ArgAction::SetTrue)] + #[arg(short, long)] branch: Option, }, /// upgrade a single repository.