aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2015-03-18 21:39:49 +0100
committerGibheer <gibheer@gmail.com>2015-03-18 21:39:49 +0100
commit0eb655d42d20752e040a4cbdcebf6820229f021f (patch)
tree057aab903b13dc99b69ed9ac85a7cb4fa6389aca /main.go
parent31bf8bc739b5066eaaf25294a202170ffede4bc2 (diff)
add a --help option to avoid an error message
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
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!")
}