summaryrefslogtreecommitdiffstats
path: root/README.markdown
diff options
context:
space:
mode:
authorZack Hobson2009-07-30 11:37:18 -0700
committerZack Hobson2009-07-30 11:37:18 -0700
commitd2de12ef6cec9d8de1e06fc6096a1dff75f96ab1 (patch)
tree4936c62dbf2de67d45780db6566d1342fe79fa83 /README.markdown
parent31a3a51bf078cb771dbdf44985a1f4e9121ff5c4 (diff)
downloadhcl-d2de12ef6cec9d8de1e06fc6096a1dff75f96ab1.tar.bz2
Allow an initial time to be specified when starting a timer, closes #9.
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 9c5f547..936ebec 100644
--- a/README.markdown
+++ b/README.markdown
@@ -27,7 +27,7 @@ HCl is a command-line tool for interacting with Harvest time sheets using the
hcl tasks
hcl set <key> <value ...>
hcl unset <key>
- hcl start (<task_alias> | <project_id> <task_id>) [msg ...]
+ hcl start (<task_alias> | <project_id> <task_id>) [+time] [msg ...]
hcl note <msg ...>
hcl stop
@@ -54,6 +54,15 @@ identify a task, HCl supports task aliases:
$ hcl set task.xdev 1234 5678
$ hcl start xdev adding a new feature
+### Starting a Timer with Initial Time
+
+You can also provide an initial time when starting a new timer.
+This can be expressed in floating-point or HH:MM. The following two
+commands are identical:
+
+ $ hcl start xdev +0:15 adding a new feature
+ $ hcl start +.25 xdev adding a new feature
+
### Adding Notes to a Running Task
While a task is running you can append strings to the note for that task: