add an demo bash script for using 'getopts'