diff --git a/crates/nu-cli/src/commands/nth.rs b/crates/nu-cli/src/commands/nth.rs index e1be09c834..60cd6e6d01 100644 --- a/crates/nu-cli/src/commands/nth.rs +++ b/crates/nu-cli/src/commands/nth.rs @@ -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", }, ] }