diff --git a/Readme.md b/Readme.md index c6d81cc..e26ea2e 100644 --- a/Readme.md +++ b/Readme.md @@ -47,7 +47,7 @@ List your tasks (or use `pomo` which defaults to `pomo list`): 0. Fix IE stying issues : 25 minutes 1. Destroy IE : 25 minutes -Start the first task: +Start the first incomplete task: $ pomo start Started Fix IE stying issues, you have 25 minutes :) (=........................) 24 minutes remaining diff --git a/bin/pomo b/bin/pomo index 8a8694b..5eb6796 100755 --- a/bin/pomo +++ b/bin/pomo @@ -51,7 +51,7 @@ command :start do |c| c.example 'Start the first task', 'pomo start first' c.example 'Start the fifth task', 'pomo start 5' c.action do |args, options| - args = ['incomplete'] if args.length.zero? + args = ['incomplete'] if args.empty? list.find(*args) do |task, i| abort 'task already completed' if task.complete? say "Started #{task}, you have #{task.length} minutes :)"