make range require the rows (#5710)

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 {
Signature::build("range")
.optional(
.required(
"rows",
SyntaxShape::Range,
"range of rows to return: Eg) 4..7 (=> from 4 to 7)",