Function: add getopts usage.