diff --git a/crates/nu-command/src/platform/input/list.rs b/crates/nu-command/src/platform/input/list.rs index 47311ba38..44c235205 100644 --- a/crates/nu-command/src/platform/input/list.rs +++ b/crates/nu-command/src/platform/input/list.rs @@ -39,10 +39,13 @@ impl Command for InputList { fn signature(&self) -> Signature { Signature::build("input list") - .input_output_types(vec![( - Type::List(Box::new(Type::Any)), - Type::List(Box::new(Type::Any)), - )]) + .input_output_types(vec![ + ( + Type::List(Box::new(Type::Any)), + Type::List(Box::new(Type::Any)), + ), + (Type::List(Box::new(Type::String)), Type::String), + ]) .optional("prompt", SyntaxShape::String, "the prompt to display") .switch( "multi",