1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-19 23:45:57 +02:00

doc: fix nth examples ()

This commit is contained in:
Bruno Heridet
2020-05-12 22:47:45 +02:00
committed by GitHub
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",
}, },
] ]
} }