🐛 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:
committed by
Jeremiah Russell
parent
7cf475ce39
commit
9fa268340f
@@ -29,7 +29,7 @@ pub struct AddCli {
|
|||||||
period: Period,
|
period: Period,
|
||||||
/// Count of the period
|
/// Count of the period
|
||||||
#[arg(short, long, default_value = "1")]
|
#[arg(short, long, default_value = "1")]
|
||||||
count: usize,
|
count: i64,
|
||||||
/// Optional specific label; if not specified one will be generated
|
/// Optional specific label; if not specified one will be generated
|
||||||
#[arg(short, long)]
|
#[arg(short, long)]
|
||||||
label: Option<String>,
|
label: Option<String>,
|
||||||
|
|||||||
Reference in New Issue
Block a user