Use getopts for compatibility