Fixing has_options getopts usage