Add quotes to --set example.
This commit is contained in:
parent
01c27c9c10
commit
fed71a5574
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