mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
fix(module): list option not working (#3919)
This commit is contained in:
+1
-1
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user