Usage: sugartex [OPTIONS] [TO]

      Reads from stdin and writes to stdout. Can have single argument/option only.
      When no args or the arg is not from options then run Pandoc SugarTeX filter
      that iterates over math blocks.

    Options:
      --kiwi   Same as above but with kiwi flavor,
      --help   Show this message and exit.

def cli():
    """
    Usage: sugartex [OPTIONS] [TO]

      Reads from stdin and writes to stdout. Can have single argument/option only.
      When no args or the arg is not from options then run Pandoc SugarTeX filter
      that iterates over math blocks.

    Options:
      --kiwi   Same as above but with kiwi flavor,
      --help   Show this message and exit.
    """
    if len(sys.argv) > 1:
        if sys.argv[1] == '--kiwi':
            kiwi_hack()
        elif sys.argv[1].lower() == '--help':
            print(str(cli.__doc__).replace('\n    ', '\n'))
            return None
    main()