fix(cli): don't use long for grammar_path
Co-authored-by: buckynbrocko <77247638+buckynbrocko@users.noreply.github.com>
This commit is contained in:
parent
b40839cd72
commit
b97208704b
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue