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 17
17
name, it prints the list of core hooks.
18
18
- Merge several fixes for path and variable handling for MSYS users
19
19
from :bbuser: `bwanamarko `. Includes a fix for :bbissue: `138 `.
20
+ - Change :ref: `command-mkvirtualenv ` so it catches both ``-h `` and
21
+ ``--help ``.
20
22
21
23
3.2
22
24
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ function mkvirtualenv_help {
298
298
echo ;
299
299
echo ' virtualenv help:' ;
300
300
echo ;
301
- virtualenv -h ;
301
+ virtualenv $@ ;
302
302
}
303
303
304
304
# Create a new environment, in the WORKON_HOME.
@@ -334,8 +334,8 @@ function mkvirtualenv {
334
334
-a)
335
335
i=$(( $i + 1 )) ;
336
336
project=" ${in_args[$i]} " ;;
337
- -h)
338
- mkvirtualenv_help;
337
+ -h|--help )
338
+ mkvirtualenv_help $a ;
339
339
return ;;
340
340
-i)
341
341
i=$(( $i + 1 )) ;
You can’t perform that action at this time.
0 commit comments