2 # shell option parsing -- old school version only handles single dash options.
4 while getopts "fr:q:a:h" opt; do
7 r) row_num="${OPTARG}"; ;;
8 q) queue_name="${OPTARG}"; ;;
9 a) alias_name="${OPTARG}"; ;;
10 h) usage 1>&2; exit ${EX_OK}; ;;
11 ?) usage 1>&2; exit ${EX_USAGE}; ;;
15 shift $(($OPTIND - 1))