fix(cli): don't use long for grammar_path

Co-authored-by: buckynbrocko <77247638+buckynbrocko@users.noreply.github.com>
This commit is contained in:
Amaan Qureshi 2024-02-19 16:03:31 -05:00
parent b40839cd72
commit b97208704b
No known key found for this signature in database
GPG key ID: E67890ADC4227273

View file

@ -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<String>,
#[arg(long, short, help = "Show debug log during generation")]
pub log: bool,