diff --git a/crates/nu-command/src/system/run_external.rs b/crates/nu-command/src/system/run_external.rs index 1de0513884..59f295642b 100644 --- a/crates/nu-command/src/system/run_external.rs +++ b/crates/nu-command/src/system/run_external.rs @@ -42,7 +42,7 @@ impl Command for External { .switch("redirect-stdout", "redirect stdout to the pipeline", None) .switch("redirect-stderr", "redirect stderr to the pipeline", None) .switch("trim-end-newline", "trimming end newlines", None) - .required("command", SyntaxShape::Any, "external command to run") + .required("command", SyntaxShape::String, "external command to run") .rest("args", SyntaxShape::Any, "arguments for external command") .category(Category::System) }