alertmanager/cli
Kellen Fox b2c656a071 Add command wrapper to handle printing errors for any subcommands (#724)
Fixes #721

I was using the RunE method of cobra.Command which does things with an
error returned from a function. I doesn't seem possible to keep it from
printing usage every time, so I've make a wrapper to use the other
function.
2017-04-21 14:50:02 +02:00
..
format Amtool implementation (#636) 2017-04-20 11:04:17 +02:00
alert.go Add command wrapper to handle printing errors for any subcommands (#724) 2017-04-21 14:50:02 +02:00
config.go Amtool implementation (#636) 2017-04-20 11:04:17 +02:00
root.go Amtool implementation (#636) 2017-04-20 11:04:17 +02:00
silence.go Add command wrapper to handle printing errors for any subcommands (#724) 2017-04-21 14:50:02 +02:00
silence_add.go Add command wrapper to handle printing errors for any subcommands (#724) 2017-04-21 14:50:02 +02:00
silence_expire.go Add command wrapper to handle printing errors for any subcommands (#724) 2017-04-21 14:50:02 +02:00
silence_query.go Add command wrapper to handle printing errors for any subcommands (#724) 2017-04-21 14:50:02 +02:00
utils.go Add command wrapper to handle printing errors for any subcommands (#724) 2017-04-21 14:50:02 +02:00