File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1717 name, it prints the list of core hooks.
1818 - Merge several fixes for path and variable handling for MSYS users
1919 from :bbuser: `bwanamarko `. Includes a fix for :bbissue: `138 `.
20+ - Change :ref: `command-mkvirtualenv ` so it catches both ``-h `` and
21+ ``--help ``.
2022
21233.2
2224
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ function mkvirtualenv_help {
298298 echo ;
299299 echo ' virtualenv help:' ;
300300 echo ;
301- virtualenv -h ;
301+ virtualenv $@ ;
302302}
303303
304304# Create a new environment, in the WORKON_HOME.
@@ -334,8 +334,8 @@ function mkvirtualenv {
334334 -a)
335335 i=$(( $i + 1 )) ;
336336 project=" ${in_args[$i]} " ;;
337- -h)
338- mkvirtualenv_help;
337+ -h|--help )
338+ mkvirtualenv_help $a ;
339339 return ;;
340340 -i)
341341 i=$(( $i + 1 )) ;
You can’t perform that action at this time.
0 commit comments