diff options
| author | Nikolaus Gotsche <n@softwarefools.com> | 2018-08-29 04:27:16 +0200 |
|---|---|---|
| committer | Nikolaus Gotsche <n@softwarefools.com> | 2018-08-29 04:27:16 +0200 |
| commit | ad7b23c17dbe05e7e6a4ad3ea023f692f832a938 (patch) | |
| tree | 0832c6fa8e8be7a66a59e371222aab19c3a2bf5d /main.go | |
| parent | ed43a6d9c450483914281e5fc3b6877116fc6ad0 (diff) | |
LaTeX templating and bills begin
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -14,7 +14,7 @@ import ( //var svar string var starttime,stoptime string -var projectid, edittaskid, editprojectid int +var projectid, edittaskid, editprojectid, editcustomerid int var deltask int var addcustomer bool var newproject, newtask, stoptask, allproj, runinter, test bool @@ -65,6 +65,10 @@ func init() { "editproject", 0, "Specify which project to edit") + flag.IntVar(&editcustomerid, + "editcustomer", + 0, + "Specify which customer to edit") flag.IntVar(&projectid, "project", 0, @@ -183,6 +187,8 @@ func main() { editTask(edittaskid) } else if (editprojectid>0) { editProject(editprojectid) + } else if (editcustomerid>0) { + editCustomer(editcustomerid) } else if (projectid>0) { setProject(projectid) stdOut() |
