mirror of
https://github.com/nushell/nushell.git
synced 2025-08-12 13:37:45 +02:00
rename update
to upsert
to mirror what it really does (#4859)
* rename `update` to `upsert` to mirror what it really does * change to latest reedline and nu-ansi-term
This commit is contained in:
@ -81,7 +81,7 @@ On Windows, an extra 'prefix' column is added."#
|
||||
},
|
||||
Example {
|
||||
description: "Replace a complex extension",
|
||||
example: r"'C:\Users\viking\spam.tar.gz' | path parse -e tar.gz | update extension { 'txt' }",
|
||||
example: r"'C:\Users\viking\spam.tar.gz' | path parse -e tar.gz | upsert extension { 'txt' }",
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
@ -107,7 +107,7 @@ On Windows, an extra 'prefix' column is added."#
|
||||
},
|
||||
Example {
|
||||
description: "Replace a complex extension",
|
||||
example: r"'/home/viking/spam.tar.gz' | path parse -e tar.gz | update extension { 'txt' }",
|
||||
example: r"'/home/viking/spam.tar.gz' | path parse -e tar.gz | upsert extension { 'txt' }",
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
|
Reference in New Issue
Block a user