logdna / logdna-cli

The LogDNA CLI allows you to signup for a new account and tail your server logs right from the command line.
https://logdna.com
MIT License
27 stars 21 forks source link

logdna tail : `-h` is used as the short form for two different command flags #7

Closed viktorbenei closed 7 years ago

viktorbenei commented 7 years ago

-h is used as the short form of --help as well as --hosts.

Right now if you call logdna tail -h (to get the help text) you'll get:

  error: option `-h, --hosts <hosts>' argument missing
leeliu commented 7 years ago

Yeah, you'll need to use --help for that particular command. We use the commander module for this and it's a bit confusing but there's no way to change the output afaik.