Merge case statement options
This commit is contained in:
parent
fb382c8e70
commit
3d15adb40c
@ -25,12 +25,9 @@ function process_options {
|
|||||||
function process_option {
|
function process_option {
|
||||||
option=$1
|
option=$1
|
||||||
case $option in
|
case $option in
|
||||||
--help) usage;;
|
-h|--help) usage;;
|
||||||
-h) usage;;
|
-V|--virtual-env) let always_venv=1; let never_venv=0;;
|
||||||
-V) let always_venv=1; let never_venv=0;;
|
-N|--no-virtual-env) let always_venv=0; let never_venv=1;;
|
||||||
--virtual-env) let always_venv=1; let never_venv=0;;
|
|
||||||
-N) let always_venv=0; let never_venv=1;;
|
|
||||||
--no-virtual-env) let always_venv=0; let never_venv=1;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user