1
0
Fork 0
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:
jn64 2020-07-06 04:50:40 +08:00 committed by GitHub
parent 8c86156d13
commit 222bc41873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: