From b97208704bddec76161d91c0d9414597514a6a95 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Mon, 19 Feb 2024 16:03:31 -0500 Subject: [PATCH] fix(cli): don't use `long` for `grammar_path` Co-authored-by: buckynbrocko <77247638+buckynbrocko@users.noreply.github.com> --- cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index 966fda07..b05998f0 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -44,7 +44,7 @@ struct InitConfig; #[derive(Args)] #[command(about = "Generate a parser", alias = "gen", alias = "g")] struct Generate { - #[arg(long, index = 1, help = "The path to the grammar file")] + #[arg(index = 1, help = "The path to the grammar file")] pub grammar_path: Option, #[arg(long, short, help = "Show debug log during generation")] pub log: bool,