add explicit version to Dockerfile, circleci

This commit is contained in:
Bradley Cicenas
2017-03-14 21:45:25 +00:00
parent 0ac70c96eb
commit b3cdb33efc
3 changed files with 15 additions and 8 deletions

View File

@@ -25,6 +25,9 @@ var (
func main() {
defer panicExit()
// init global config
config.Init()
// parse command line arguments
var versionFlag = flag.Bool("v", false, "output version information and exit")
var helpFlag = flag.Bool("h", false, "display this help dialog")
@@ -51,9 +54,6 @@ func main() {
}
defer ui.Close()
// init global config
config.Init()
// override default config values with command line flags
if *filterFlag != "" {
config.Update("filterStr", *filterFlag)