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 { 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
} }