Skip to content

Commit

Permalink
unset: clarify example with no options (tldr-pages#4126)
Browse files Browse the repository at this point in the history
  • Loading branch information
jn64 authored Jul 5, 2020
1 parent 8c86156 commit 222bc41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/linux/unset.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 222bc41

Please sign in to comment.