From 7c0966be3055bb68978178a96aa306e10b6ea160 Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Mon, 21 Jul 2025 14:20:42 -0500 Subject: [PATCH] Split the owner and repo args apart in CLI parser --- src/cli.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index bb0923a..b5a25b3 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -5,7 +5,9 @@ use clap::{Parser, Subcommand}; pub struct Args { #[arg(short = 'u', long = "url", env = "GTTOOL_GITEA_URL")] pub gitea_url: Option, - #[arg(short = 'r', long = "repo", env = "GTTOOL_FQRN")] + #[arg(short = 'o', long = "owner", env = "GTTOOL_OWNER")] + pub owner: Option, + #[arg(short = 'r', long = "repo", env = "GTTOOL_REPO")] pub repo: Option, #[arg( short = 'p',