From 2dacaaa05185374aff646f72547e6926e550ff58 Mon Sep 17 00:00:00 2001 From: Cedric Staub Date: Tue, 14 Jun 2016 11:07:02 -0700 Subject: [PATCH] Support --version flag --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 3fed9ac..c0dbc70 100644 --- a/main.go +++ b/main.go @@ -61,6 +61,8 @@ type certWithAlias struct { } func main() { + app.Version("1.0.1") + switch kingpin.MustParse(app.Parse(os.Args[1:])) { case dump.FullCommand(): // Dump certificate files := []*os.File{}