Add quotes to --set example.

This commit is contained in:
Mark 2011-06-09 11:53:58 -07:00
parent 01c27c9c10
commit fed71a5574

2
bin/whenever Executable file → Normal file
View File

@ -20,7 +20,7 @@ OptionParser.new do |opts|
options[:clear] = true options[:clear] = true
options[:identifier] = identifier if identifier options[:identifier] = identifier if identifier
end 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 options[:set] = set if set
end end
opts.on('-f', '--load-file [schedule file]', 'Default: config/schedule.rb') do |file| opts.on('-f', '--load-file [schedule file]', 'Default: config/schedule.rb') do |file|