1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-25 13:48:19 +02:00

make range require the rows ()

This commit is contained in:
pwygab 2022-06-04 14:48:01 +08:00 committed by GitHub
parent e5d38dcff6
commit fda456e469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ impl Command for Range {
fn signature(&self) -> Signature { fn signature(&self) -> Signature {
Signature::build("range") Signature::build("range")
.optional( .required(
"rows", "rows",
SyntaxShape::Range, SyntaxShape::Range,
"range of rows to return: Eg) 4..7 (=> from 4 to 7)", "range of rows to return: Eg) 4..7 (=> from 4 to 7)",