diff options
author | Gibheer <gibheer@gmail.com> | 2015-03-18 21:39:49 +0100 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2015-03-18 21:39:49 +0100 |
commit | 0eb655d42d20752e040a4cbdcebf6820229f021f (patch) | |
tree | 057aab903b13dc99b69ed9ac85a7cb4fa6389aca /main.go | |
parent | 31bf8bc739b5066eaaf25294a202170ffede4bc2 (diff) |
add a --help option to avoid an error message
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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!") } |