mirror of
https://github.com/nushell/nushell.git
synced 2025-06-19 00:17:02 +02:00
doc: fix nth examples (#1768)
This commit is contained in:
parent
75edcbc0d0
commit
803c6539eb
@ -44,11 +44,11 @@ impl WholeStreamCommand for Nth {
|
||||
&[
|
||||
Example {
|
||||
description: "Get the second row",
|
||||
example: "echo [first second third] | get 1",
|
||||
example: "echo [first second third] | nth 1",
|
||||
},
|
||||
Example {
|
||||
description: "Get the first and third rows",
|
||||
example: "echo [first second third] | get 0 2",
|
||||
example: "echo [first second third] | nth 0 2",
|
||||
},
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user