From 0eb655d42d20752e040a4cbdcebf6820229f021f Mon Sep 17 00:00:00 2001 From: Gibheer Date: Wed, 18 Mar 2015 21:39:49 +0100 Subject: add a --help option to avoid an error message --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 7e3d0b6..3c9f5df 100644 --- a/main.go +++ b/main.go @@ -29,6 +29,7 @@ func main() { case "create-cert-sign": create_sign_request() case "create-cert": create_cert() case "help": print_modules() + case "--help": print_modules() // case "info": info_on_file() default: crash_with_help(1, "Command not supported!") } -- cgit v1.2.3-70-g09d2