mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-19 21:15:28 +02:00
unset: clarify example with no options (#4126)
This commit is contained in:
parent
8c86156d13
commit
222bc41873
1 changed files with 5 additions and 1 deletions
|
@ -2,9 +2,13 @@
|
|||
|
||||
> Remove shell variables or functions.
|
||||
|
||||
- Remove the variable `foo`, or if the variable doesn't exist, remove the function `foo`:
|
||||
|
||||
`unset {{foo}}`
|
||||
|
||||
- Remove the variables foo and bar:
|
||||
|
||||
`unset {{foo}} {{bar}}`
|
||||
`unset -v {{foo}} {{bar}}`
|
||||
|
||||
- Remove the function my_func:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue