diff --git a/ptk.nim b/ptk.nim index 99ebc5c..23cc781 100644 --- a/ptk.nim +++ b/ptk.nim @@ -344,8 +344,8 @@ when isMainModule: let doc = """ Usage: ptk init [options] - ptk add [options] - ptk add [options] + ptk (add | start) [options] + ptk (add | start) [options] ptk resume [options] [] ptk amend [options] [] [] ptk merge [...] @@ -387,7 +387,7 @@ Options: let now = getLocalTime(getTime()) # Parse arguments - let args = docopt(doc, version = "ptk 0.11.1") + let args = docopt(doc, version = "ptk 0.11.2") if args["--echo-args"]: echo $args @@ -507,7 +507,7 @@ Options: saveTimeline(timeline, timelineLocation) - if args["add"]: + if args["add"] or args["start"]: var newMark: Mark = ( id: genUUID(), diff --git a/ptk.nimble b/ptk.nimble index ddba54f..9a4e836 100644 --- a/ptk.nimble +++ b/ptk.nimble @@ -1,6 +1,6 @@ # Package -version = "0.11.1" +version = "0.11.2" author = "Jonathan Bernard" description = "Personal Time Keeper" license = "MIT"