Commits

David Szotten committed 4078c80

prevent workon_help from polluting the global namespace

Comments (0)

Files changed (1)

virtualenvwrapper.sh

 }
 
 # Show help for workon
-function workon_help {
+function _workon_help {
     echo "Usage: workon env_name"
     echo ""
     echo "           Deactivate any currently activated virtualenv"
         a="${in_args[$i]}"
         case "$a" in
             -h|--help)
-                workon_help;
+                _workon_help;
                 return 0;;
         esac
         i=$(( $i + 1 ))