fix(module): list option not working (#3919)

This commit is contained in:
Gabe Weiner 2022-04-28 16:27:09 -04:00 committed by GitHub
parent bd194dea75
commit 6fe6735927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ enum Commands {
/// Prints a specific prompt module
Module {
/// The name of the module to be printed
#[clap(required = true, required_unless_present = "list")]
#[clap(required_unless_present("list"))]
name: Option<String>,
/// List out all supported modules
#[clap(short, long)]