Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add quotes to --set example. #148

Merged
merged 1 commit into from

2 participants

@maspwr

The arguments to --set should be quoted. Adding this to the example might prevent silly mistakes.

@javan javan merged commit 0114f82 into javan:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 9, 2011
  1. Add quotes to --set example.

    Mark authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/whenever
View
2  bin/whenever 100755 → 100644
@@ -20,7 +20,7 @@ OptionParser.new do |opts|
options[:clear] = true
options[:identifier] = identifier if identifier
end
- opts.on('-s', '--set [variables]', 'Example: --set environment=staging&path=/my/sweet/path') do |set|
+ opts.on('-s', '--set [variables]', 'Example: --set \'environment=staging&path=/my/sweet/path\'') do |set|
options[:set] = set if set
end
opts.on('-f', '--load-file [schedule file]', 'Default: config/schedule.rb') do |file|
Something went wrong with that request. Please try again.