if [ "$#" -ne 1 ] || [ "${1#-}" != "$1" ]; then
  printf 'Usage: %s command [-h] [-v] [--] [file]\n' "${0##*/}" >&2
  exit 1
fi
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
  printf 'Usage: %s command [-h] [-v] [--] [file]\n' "${0##*/}"
  exit 0
fi
