basho / clique

CLI Framework for Erlang
Apache License 2.0
147 stars 49 forks source link

Global flags don't apply to all commands properly #43

Closed nickelization closed 9 years ago

nickelization commented 9 years ago

It looks like there has been an issue for a while where the --help flag doesn't work on all commands. More recently, the --format flag has been added, and that appears to suffer from the same problem.

For some of the commands, it's easy to see why would be the case (set/show/describe), but I'm also seeing the same issue with an application-defined command (riak-admin cluster status), so I suspect there might be more than one thing that needs to be fixed here.

nickelization commented 9 years ago

This is fixed now that PR #42 is merged.