mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
Remove unused/incorrect input type from start
(#12107)
As noted in https://github.com/nushell/nushell.github.io/pull/1287, `start` _says_ that it can be piped a string but it does not actually do anything with that string. Fixed.
This commit is contained in:
parent
7cb13ee734
commit
f08145a23a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ impl Command for Start {
|
||||||
|
|
||||||
fn signature(&self) -> nu_protocol::Signature {
|
fn signature(&self) -> nu_protocol::Signature {
|
||||||
Signature::build("start")
|
Signature::build("start")
|
||||||
.input_output_types(vec![(Type::Nothing, Type::Any), (Type::String, Type::Any)])
|
.input_output_types(vec![(Type::Nothing, Type::Any)])
|
||||||
.required("path", SyntaxShape::String, "Path to open.")
|
.required("path", SyntaxShape::String, "Path to open.")
|
||||||
.category(Category::FileSystem)
|
.category(Category::FileSystem)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue