doc: fix prepend example definition (#1761)

It seems that the description was copy-pasted by mistake from the
append command.
This commit is contained in:
Bruno Heridet 2020-05-12 09:46:21 +02:00 committed by GitHub
parent 0b520eeaf0
commit 247d8b00f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",
}]
}
}