# File lib/mcollective/optionparser.rb, line 112 def add_required_options @parser.on('-c', '--config FILE', 'Load configuration from file rather than default') do |f| @options[:config] = f end @parser.on('-v', '--verbose', 'Be verbose') do |v| @options[:verbose] = v end @parser.on('-h', '--help', 'Display this screen') do puts @parser exit! 1 end end