mirror of
https://github.com/nushell/nushell
synced 2025-01-12 05:09:04 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue