mirror of
https://github.com/nushell/nushell
synced 2025-01-12 21:29:07 +00:00
Rename the now-deprecated add
command docs into insert
comm… (#1307)
This commit is contained in:
parent
6a39cd8546
commit
7df8fdfb28
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
|||
# add
|
||||
# insert
|
||||
|
||||
This command adds a column to any table output. The first parameter takes the heading, the second parameter takes the value for all the rows.
|
||||
|
||||
## Examples
|
||||
|
||||
```shell
|
||||
> ls | add is_on_a_computer yes_obviously
|
||||
> ls | insert is_on_a_computer yes_obviously
|
||||
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━
|
||||
# │ name │ type │ readonly │ size │ accessed │ modified │ is_on_a_computer
|
||||
───┼────────────────────────────┼──────┼──────────┼────────┼───────────┼───────────┼──────────────────
|
||||
|
@ -18,7 +18,7 @@ This command adds a column to any table output. The first parameter takes the he
|
|||
```
|
||||
|
||||
```shell
|
||||
> shells | add os linux_on_this_machine
|
||||
> shells | insert os linux_on_this_machine
|
||||
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━
|
||||
# │ │ name │ path │ os
|
||||
───┼───┼────────────┼────────────────────────────────┼───────────────────────
|
Loading…
Reference in a new issue