Use cli Flags directly and not some helper funcs

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
This commit is contained in:
Matthias Loibl 2016-11-09 23:18:22 +01:00
parent 475ddd8d89
commit 5cd093aa46
8 changed files with 91 additions and 69 deletions

View file

@ -22,7 +22,7 @@ var CmdCert = cli.Command{
Action: runCert,
}
func runCert(ctx *cli.Context) error {
func runCert(*cli.Context) error {
fmt.Println("Command cert not available, please use build tags 'cert' to rebuild.")
os.Exit(1)