diff --git a/crates/nu-cmd-lang/src/core_commands/export_use.rs b/crates/nu-cmd-lang/src/core_commands/export_use.rs index a08b21e81b..c1904e819a 100644 --- a/crates/nu-cmd-lang/src/core_commands/export_use.rs +++ b/crates/nu-cmd-lang/src/core_commands/export_use.rs @@ -20,7 +20,7 @@ impl Command for ExportUse { Signature::build("export use") .input_output_types(vec![(Type::Nothing, Type::Nothing)]) .required("module", SyntaxShape::String, "Module or module file.") - .optional( + .rest( "members", SyntaxShape::Any, "Which members of the module to import.",