mirror of
https://github.com/nushell/nushell.git
synced 2025-06-19 17:38:14 +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:
parent
0b520eeaf0
commit
247d8b00f8
@ -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",
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user