getopts example