Merge pull request #255 from nushell/par_each_sig

Fix par-each signature
This commit is contained in:
JT 2021-10-26 21:21:55 +13:00 committed by GitHub
commit 0c7ec03ba0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ impl Command for ParEach {
} }
fn signature(&self) -> nu_protocol::Signature { fn signature(&self) -> nu_protocol::Signature {
Signature::build("each") Signature::build("par-each")
.required( .required(
"block", "block",
SyntaxShape::Block(Some(vec![SyntaxShape::Any])), SyntaxShape::Block(Some(vec![SyntaxShape::Any])),