From 9fa268340f73ac9d524d6ead3f1cc12f42411ccc Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Fri, 10 Oct 2025 22:40:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(cli):=20correct=20count=20ty?= =?UTF-8?q?pe=20in=20add=5Fcli?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix: change count type from usize to i64 to allow negative values --- src/cli/config_cli/rules_cli/add_cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/config_cli/rules_cli/add_cli.rs b/src/cli/config_cli/rules_cli/add_cli.rs index 8f56969..71daecf 100644 --- a/src/cli/config_cli/rules_cli/add_cli.rs +++ b/src/cli/config_cli/rules_cli/add_cli.rs @@ -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,