doc: fix nth examples (#1768)
This commit is contained in:
parent
75edcbc0d0
commit
803c6539eb
|
@ -44,11 +44,11 @@ impl WholeStreamCommand for Nth {
|
||||||
&[
|
&[
|
||||||
Example {
|
Example {
|
||||||
description: "Get the second row",
|
description: "Get the second row",
|
||||||
example: "echo [first second third] | get 1",
|
example: "echo [first second third] | nth 1",
|
||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description: "Get the first and third rows",
|
description: "Get the first and third rows",
|
||||||
example: "echo [first second third] | get 0 2",
|
example: "echo [first second third] | nth 0 2",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user