Browse Source

unset: clarify example with no options (#4126)

jn64 4 years ago
parent
commit
222bc41873
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/linux/unset.md

+ 5 - 1
pages/linux/unset.md

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