while getopts 'o:h' option; do
  case "${option}" in
    h) ;;
    *) ;;
  esac
done
shift "$((OPTIND - 1))"
