Revision 0ed47e40
Added by Ivan Necas almost 7 years ago
lib/foreman_maintain/cli/base.rb | ||
---|---|---|
option ['-y', '--assumeyes'], :flag,
|
||
'Automatically answer yes for all questions'
|
||
|
||
option ['-w', '--whitelist'], :whitelist,
|
||
option ['-w', '--whitelist'], 'whitelist',
|
||
'Comma-separated list of labels of steps to be ignored' do |whitelist|
|
||
raise ArgumentError, 'value not specified' if whitelist.nil? || whitelist.empty?
|
||
whitelist.split(',').map(&:strip)
|
Also available in: Unified diff
Fix whitelist option definition