fix(module): list option not working (#3919)
This commit is contained in:
parent
bd194dea75
commit
6fe6735927
|
@ -55,7 +55,7 @@ enum Commands {
|
||||||
/// Prints a specific prompt module
|
/// Prints a specific prompt module
|
||||||
Module {
|
Module {
|
||||||
/// The name of the module to be printed
|
/// The name of the module to be printed
|
||||||
#[clap(required = true, required_unless_present = "list")]
|
#[clap(required_unless_present("list"))]
|
||||||
name: Option<String>,
|
name: Option<String>,
|
||||||
/// List out all supported modules
|
/// List out all supported modules
|
||||||
#[clap(short, long)]
|
#[clap(short, long)]
|
||||||
|
|
Loading…
Reference in New Issue