From 6fe6735927170b9f2aaa10cb84fa3a4d754e3bd6 Mon Sep 17 00:00:00 2001 From: Gabe Weiner <39664206+imlazyeye@users.noreply.github.com> Date: Thu, 28 Apr 2022 16:27:09 -0400 Subject: [PATCH] fix(module): list option not working (#3919) --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]