From 247d8b00f81eac0d4b9cad61e5eecf6b9144f556 Mon Sep 17 00:00:00 2001 From: Bruno Heridet Date: Tue, 12 May 2020 09:46:21 +0200 Subject: [PATCH] doc: fix prepend example definition (#1761) It seems that the description was copy-pasted by mistake from the append command. --- crates/nu-cli/src/commands/prepend.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-cli/src/commands/prepend.rs b/crates/nu-cli/src/commands/prepend.rs index 9ac2732ccb..272777577b 100644 --- a/crates/nu-cli/src/commands/prepend.rs +++ b/crates/nu-cli/src/commands/prepend.rs @@ -38,8 +38,8 @@ impl WholeStreamCommand for Prepend { fn examples(&self) -> &[Example] { &[Example { - description: "Add something to the end of a list or table", - example: "echo [2 3 4] | prepend 4", + description: "Add something to the beginning of a list or table", + example: "echo [2 3 4] | prepend 1", }] } }