diff options
| author | Nikolaus Gotsche <n@softwarefools.com> | 2018-09-16 03:46:34 +0200 |
|---|---|---|
| committer | Nikolaus Gotsche <n@softwarefools.com> | 2018-09-16 03:46:34 +0200 |
| commit | d02ae5617f2deb600982833da9a927a5a9d66793 (patch) | |
| tree | d13454aab46f753c3651474ad78503d0bde7dcc4 /main.go | |
| parent | 89f83d7a1fe57649fbd59e9a3da2806061cc5be2 (diff) | |
Cleanup and Finegrain0.2.9
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -100,7 +100,7 @@ func main() { getopt.Parse() interArgs = getopt.Args() - fmt.Println(interArgs) + //fmt.Println(interArgs) dbname := "./.mytimes.db" if len(interArgs) > 0 { @@ -110,7 +110,7 @@ func main() { } if help { - fmt.Printf("Usage of %s Version %s (%s):\n Use Commands as Parameters\n\n", os.Args[0],version,compdate) + fmt.Printf("Usage of %s Version %s:\n Use Commands as Parameters\n\n", os.Args[0],version) getopt.Usage() interArgs = append([]string{"help"},interArgs...) @@ -145,11 +145,12 @@ func main() { } if !help { - initDB(dbname) - getLastProject() - getOpenTask() + initDB(dbname) + getLastProject() + getOpenTask() } interact() + fmt.Println("Laboravi emeritus...") } |
