Permalink
Browse files

Update usage message for new '-e<task num> <text>' command.

  • Loading branch information...
1 parent a0de87f commit 1263c2ff50be557b7939883ba83299fc4b0a722a Scott Olson committed Mar 27, 2012
Showing with 7 additions and 6 deletions.
  1. +7 −6 lib/do_stuff/runner.rb
View
@@ -168,16 +168,17 @@ def self.usage
program = File.basename($0)
print <<-EOS
-usage: #{program} list unfinished tasks
- #{program} <task desc> add a new task
- #{program} <task num> erase task
- #{program} -e [task num] edit task file and jump to given task
- #{program} -h, --help show this message
+usage: #{program} list unfinished tasks
+ #{program} <task desc> add a new task
+ #{program} <task num> erase task
+ #{program} -e [task num] edit task file [and jump to given task]
+ #{program} -e<task num> <text> replace task with given text
+ #{program} -h, --help show this message
EOS
if defined?(::DoStuff::Standalone)
print <<-EOS
- #{program} --standalone FILE generate a standalone version of do_stuff
+ #{program} --standalone FILE generate a standalone version of do_stuff
EOS
end
end

0 comments on commit 1263c2f

Please sign in to comment.