lib/timetrap/cli.rb in timetrap-1.5.2 vs lib/timetrap/cli.rb in timetrap-1.5.3
- old
+ new
@@ -79,12 +79,27 @@
* week - Shortcut for display with start date set to monday of this week.
usage: t week [--ids] [--end DATE] [--format FMT] [SHEET | all]
OTHER OPTIONS
+
-h, --help Display this help.
-r, --round Round output to 15 minute start and end times.
-y, --yes Noninteractive, assume yes as answer to all prompts.
+
+ EXAMPLES
+
+ # create the "MyTimesheet" timesheet
+ $ t switch MyTimesheet
+
+ # check in 5 minutes ago with a note
+ $ t in --at '5 minutes ago' doing some stuff
+
+ # check out
+ $ t out
+
+ # view current timesheet
+ $ t display
Submit bugs and feature requests to http://github.com/samg/timetrap/issues
EOF
def parse arguments