mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +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
|
/// 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)]
|
||||||
|
|||||||
Reference in New Issue
Block a user