fix: version output of built app

This commit is contained in:
Lea Anthony
2019-03-29 08:24:46 +11:00
parent 01dce9f139
commit 02973c49ff

View File

@@ -9,6 +9,7 @@ func (app *App) setupCli() *cmd.Cli {
// Create a new cli
result := cmd.NewCli(app.config.Title, "Debug build")
result.Version(cmd.Version)
// Setup cli to handle loglevel and headless flags
result.