diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ import ( func main() { flag.Parse() - if printVersion { + if flags.version { fmt.Println(version) os.Exit(0) } @@ -38,7 +38,7 @@ func main() { defer model.DisconnectDatabase() model.MigrateDatabase(version) - if injectExamples { + if flags.examples { model.InjectExampleRecipes() log.Println("Added example recipes") } |