Explorar o código

unset: clarify example with no options (#4126)

jn64 %!s(int64=4) %!d(string=hai) anos
pai
achega
222bc41873
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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: