Testing something…
#!/bin/bash while getopts ":v" OPTION; do case $OPTION in v) VERBOSE=1;; esac done if [ $VERBOSE ]; then echo "You are quite verbose." fi