Merge pull request #148 from markisisme/master
Add quotes to --set example.
This commit is contained in:
commit
0114f82e1c
2
bin/whenever
Executable file → Normal file
2
bin/whenever
Executable file → Normal 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|
|
||||||
|
Loading…
Reference in New Issue
Block a user