Skip to content

Commit

Permalink
Updating command option help.
Browse files Browse the repository at this point in the history
The --message and --time options aren't only for punching in/out.
  • Loading branch information
ymendel committed Aug 26, 2009
1 parent f18f159 commit bfb1c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/punch
Expand Up @@ -30,9 +30,9 @@ BANNER
opts.on('--before [TIME]', String,
"Restrict command to only before the given time") { |time| OPTIONS[:before] = Time.parse(time) }
opts.on('--at [TIME]', '--time [TIME]', String,
"Use the given time to punch in/out") { |time| OPTIONS[:time] = Time.parse(time) }
"Use the given time") { |time| OPTIONS[:time] = Time.parse(time) }
opts.on('-m', '--message [MESSAGE]', String,
"Add the given log message when punching in/out") { |message| OPTIONS[:message] = message }
"Use the given log message") { |message| OPTIONS[:message] = message }
opts.on('--full',
"Show full output for the command") { |full| OPTIONS[:full] = true }
opts.on('--short',
Expand Down

0 comments on commit bfb1c63

Please sign in to comment.