Support --version flag

This commit is contained in:
Cedric Staub
2016-06-14 11:07:02 -07:00
parent a136f68227
commit 2dacaaa051
+2
View File
@@ -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{}