diff --git a/crates/nu-cli/src/commands/run_alias.rs b/crates/nu-cli/src/commands/run_alias.rs index e0fbb4916..3320d5cda 100644 --- a/crates/nu-cli/src/commands/run_alias.rs +++ b/crates/nu-cli/src/commands/run_alias.rs @@ -24,7 +24,7 @@ impl PerItemCommand for AliasCommand { let mut alias = Signature::build(&self.name); for arg in &self.args { - alias = alias.required(arg, SyntaxShape::Any, ""); + alias = alias.optional(arg, SyntaxShape::Any, ""); } alias