🐛 fix(cli): correct count type in add_cli

- fix: change count type from usize to i64 to allow negative values
This commit is contained in:
Jeremiah Russell
2025-10-10 22:40:17 +01:00
committed by Jeremiah Russell
parent 7cf475ce39
commit 9fa268340f

View File

@@ -29,7 +29,7 @@ pub struct AddCli {
period: Period,
/// Count of the period
#[arg(short, long, default_value = "1")]
count: usize,
count: i64,
/// Optional specific label; if not specified one will be generated
#[arg(short, long)]
label: Option<String>,