mirror of
https://github.com/danbulant/nushell
synced 2026-06-11 02:30:36 +00:00
doc: fix nth examples (#1768)
This commit is contained in:
parent
75edcbc0d0
commit
803c6539eb
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue