fix getopts usage