Merge case statement options

This commit is contained in:
jaypipes@gmail.com 2010-08-13 10:14:34 -04:00
parent fb382c8e70
commit 3d15adb40c

View File

@ -25,12 +25,9 @@ function process_options {
function process_option {
option=$1
case $option in
--help) usage;;
-h) usage;;
-V) let always_venv=1; let never_venv=0;;
--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;;
-h|--help) usage;;
-V|--virtual-env) let always_venv=1; let never_venv=0;;
-N|--no-virtual-env) let always_venv=0; let never_venv=1;;
esac
}