changes to v03
This commit is contained in:
parent
e4d95f75f0
commit
2654f4215b
|
@ -73,13 +73,21 @@ version()
|
|||
trap bashtrap INT
|
||||
|
||||
# **** option handler ****
|
||||
if [ -z $1 ]; then
|
||||
echo "no options given. aborting mission."
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for option in $options; do
|
||||
case "$option" in
|
||||
-h|--help)
|
||||
usage
|
||||
exit 0
|
||||
;;
|
||||
-v|--version)
|
||||
version
|
||||
exit 0
|
||||
;;
|
||||
-c|--config)
|
||||
config=1
|
||||
|
|
Reference in New Issue