summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZack Hobson2009-07-21 15:39:37 -0700
committerZack Hobson2009-07-22 07:45:06 -0700
commit88e6dd743793715ab92008611a5e5e9a89e88147 (patch)
treefdf74f48b80b7cab5df13fc5ee28d070beecacf1
parent0d900f455dea23a99b5522f400d796ceabebb09b (diff)
downloadhcl-88e6dd743793715ab92008611a5e5e9a89e88147.tar.bz2
Improve the usage example given by --help.
-rw-r--r--lib/hcl.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/hcl.rb b/lib/hcl.rb
index ee9d499..3011413 100644
--- a/lib/hcl.rb
+++ b/lib/hcl.rb
@@ -66,6 +66,7 @@ HCl is a command-line client for manipulating Harvest time sheets.
Commands:
hcl show [date]
hcl tasks
+ hcl set <key> <value ...>
hcl start <task> [msg]
hcl stop [msg]
hcl note <msg>
@@ -74,7 +75,9 @@ Commands:
Examples:
$ hcl tasks
- $ hcl start 1234 this is my log message
+ $ hcl start 1234 4567 this is my log message
+ $ hcl set task.mytask 1234 4567
+ $ hcl start mytask this is my next log message
$ hcl show yesterday
$ hcl show last tuesday