diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -3,7 +3,7 @@ // Laboravi - Timetracker and Bill generator // -// I came, I worked, I Billed +// I came, I worked, I charged package main import ( @@ -109,6 +109,7 @@ func main() { getopt.Parse() interArgs = getopt.Args() + loadall := true //fmt.Println(interArgs) dbname := "./.mytimes.db" @@ -122,7 +123,7 @@ func main() { fmt.Printf("Usage of %s Version %s:\n Use Commands as Parameters\n If Commands or flags other than -f were passed %s exits after execution of command.\n\n", os.Args[0], version, os.Args[0]) getopt.Usage() interArgs = append([]string{"help"}, interArgs...) - + loadall = false } else if test { //fmt.Println(Round(12.55,0.5),Round(12.55,0.1),Round(12.55,1),Round(12.55,5)) //fmt.Println(getGitTag()) @@ -173,7 +174,7 @@ func main() { getOpenTask() } - interact() + interact(loadall) fmt.Println("Laboravi finietur...") } |
