From 0edc4b5aaa0e8ca06b0d41b7aa7bfef7508fc0bf Mon Sep 17 00:00:00 2001 From: Gianluca Date: Tue, 15 Dec 2015 19:21:46 +0100 Subject: [PATCH] typo fix --- cli_handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli_handlers.go b/cli_handlers.go index 05fff6f0..b330753f 100644 --- a/cli_handlers.go +++ b/cli_handlers.go @@ -27,7 +27,7 @@ func setup(c *cli.Context) (*Configuration, *Account, *acme.Client) { } conf := NewConfiguration(c) - if len(c.GlobalString(email)) == 0 { + if len(c.GlobalString("email")) == 0 { logger().Fatal("You have to pass an account (email address) to the program using --email or -m") } @@ -122,7 +122,7 @@ func run(c *cli.Context) { } } - if len(c.GlobalStringSlice(domains)) == 0 { + if len(c.GlobalStringSlice("domains")) == 0 { logger().Fatal("Please specify --domains or -d") }