vrothberg/vgrep

Vgrep help prints output twice

marcosnils opened this issue · 1 comments

vgrep -h
Usage:
  vgrep [OPTIONS]

Application Options:
  -d, --debug              Verbose debug logging
      --interactive        Enter interactive shell
      --memory-profile=    Write a memory profile to the specified path
      --no-git             Use grep instead of git-grep
      --no-ripgrep         Do not use ripgrep
      --no-header          Do not print pretty headers
      --no-less            Use stdout instead of less
  -s, --show=SELECTORS     Show specified matches or open shell
  -v, --version            Print version number

Help Options:
  -h, --help               Show this help message

ERRO[0000] Usage:
  vgrep [OPTIONS]

Application Options:
  -d, --debug              Verbose debug logging
      --interactive        Enter interactive shell
      --memory-profile=    Write a memory profile to the specified path
      --no-git             Use grep instead of git-grep
      --no-ripgrep         Do not use ripgrep
      --no-header          Do not print pretty headers
      --no-less            Use stdout instead of less
  -s, --show=SELECTORS     Show specified matches or open shell
  -v, --version            Print version number

Help Options:
  -h, --help               Show this help message 

I was expecting for help information to appear once. Seems like a small detail on how the project handles logging.

Great catch, I opened #160