mirror of
https://github.com/nushell/nushell
synced 2024-11-10 23:24:14 +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())
|
Signature::build(self.name())
|
||||||
.switch("redirect-stdout", "redirect-stdout", None)
|
.switch("redirect-stdout", "redirect-stdout", None)
|
||||||
.switch("redirect-stderr", "redirect-stderr", 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)
|
.category(Category::System)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue