mirror of
https://github.com/nushell/nushell.git
synced 2024-12-23 23:49:44 +01: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] {
|
||||
&[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",
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user