mirror of
https://github.com/nushell/nushell
synced 2024-09-21 07:02:01 +00:00
Make run_external parameter required (#6418)
This commit is contained in:
parent
918ec9daa8
commit
9850424251
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ impl Command for External {
|
|||
Signature::build(self.name())
|
||||
.switch("redirect-stdout", "redirect-stdout", None)
|
||||
.switch("redirect-stderr", "redirect-stderr", None)
|
||||
.rest("rest", SyntaxShape::Any, "external command to run")
|
||||
.required("command", SyntaxShape::Any, "external comamdn to run")
|
||||
.rest("args", SyntaxShape::Any, "arguments for external command")
|
||||
.category(Category::System)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue