diff --git a/src/main.rs b/src/main.rs index ead94843..1afb2859 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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, /// List out all supported modules #[clap(short, long)]