Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Display start and end log
Browse files Browse the repository at this point in the history
  • Loading branch information
fbiville committed Jan 24, 2019
1 parent afd210e commit 624c017
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
)

func main() {
log.Print("Starting...")
configFile := flag.String("configuration", "headache.json", "Path to configuration file")

flag.Parse()
Expand All @@ -44,6 +45,7 @@ func main() {
log.Fatalf("headache configuration error, cannot parse\n\t%v\n", err)
}
Run(configuration, fileSystem)
log.Print("Done!")
}

func readConfiguration(configFile *string, reader fs.FileReader) Configuration {
Expand Down

0 comments on commit 624c017

Please sign in to comment.