summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2018-10-26 12:57:02 +0200
committerNikolaus Gotsche <n@softwarefools.com>2018-10-26 12:57:02 +0200
commitab0058448abc0f51d0165c0278bdd4878a3f4d13 (patch)
treebfb7f05382b68e2689be0ef4a983a7df70a4f3bd /main.go
parent1312d9dc80d3c43fce59e41ca3798abafd67e5f3 (diff)
Colorbuxfix, MoreMultichoice
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.go b/main.go
index 7bf5418..7996c51 100644
--- a/main.go
+++ b/main.go
@@ -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...")
}