cli/command
Mislav Marohnić a6e61a3a8d Silence Cobra usage on errors
When an error occurs anywhere in a command, Cobra used to print the
error itself and command usage help.

We already print error in `main()`, and we don't want to use command
usage string on anything other than flag-parsing errors.

This also fixes the double output of each error.
2019-10-31 13:47:10 +01:00
..
pr.go Customizable API client 2019-10-29 21:07:03 +01:00
pr_test.go Customizable API client 2019-10-29 21:07:03 +01:00
root.go Silence Cobra usage on errors 2019-10-31 13:47:10 +01:00