Merge pull request #148 from markisisme/master

Add quotes to --set example.
This commit is contained in:
Javan Makhmali 2011-06-12 08:18:33 -07:00
commit 0114f82e1c

2
bin/whenever Executable file → Normal file
View File

@ -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|