mirror of
https://github.com/nushell/nushell.git
synced 2025-08-13 15:27:30 +02:00
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:
@ -38,8 +38,8 @@ impl WholeStreamCommand for Prepend {
|
|||||||
|
|
||||||
fn examples(&self) -> &[Example] {
|
fn examples(&self) -> &[Example] {
|
||||||
&[Example {
|
&[Example {
|
||||||
description: "Add something to the end of a list or table",
|
description: "Add something to the beginning of a list or table",
|
||||||
example: "echo [2 3 4] | prepend 4",
|
example: "echo [2 3 4] | prepend 1",
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user