From 7d08fb3da57ad436d9c9bc77db73da44561e2c30 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Mon, 2 Dec 2013 14:55:24 -0800 Subject: [PATCH] Add shortcut for version flag --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 8eeb701..807ae83 100644 --- a/app.go +++ b/app.go @@ -61,7 +61,7 @@ func (a *App) Run(arguments []string) error { } //append version/help flags - a.appendFlag(BoolFlag{"version", "print the version"}) + a.appendFlag(BoolFlag{"version, v", "print the version"}) a.appendFlag(BoolFlag{"help, h", "show help"}) // parse flags