Created
April 19, 2012 03:02
-
-
Save wayneeseguin/2418091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while (( $# )) | |
do | |
parameter="$1" && shift | |
case "${parameter}" in | |
(-D|--debug) | |
set -x | |
;; | |
(-V|--verbose) | |
VERBOSE=true | |
SILENCE="" | |
;; | |
(-v|--version) | |
__version | |
;; | |
(*) | |
echo "Unknown parameter ${parameter} ignored." | |
;; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment