lib/dvdprofiler2xbmc/views/cli.rb in royw-dvdprofiler2xbmc-0.1.4 vs lib/dvdprofiler2xbmc/views/cli.rb in royw-dvdprofiler2xbmc-0.1.5
- old
+ new
@@ -142,17 +142,17 @@
# non-flag options
[
{
:names => %w(--output -o),
- :argument_arity => [1,1],
+ :arity => [1,1],
:arg_description => 'logfile',
:opt_description => 'Write log messages to file. Default = no log file',
:opt_found => CommandLine::OptionParser::GET_ARGS
},
{
:names => %w(--output_level -l),
- :argument_arity => [1,1],
+ :arity => [1,1],
:arg_description => 'level',
:opt_description => 'Output logging level: DEBUG, INFO, WARN, ERROR. Default = INFO',
:opt_found => CommandLine::OptionParser::GET_ARGS
}
].each { |opt| options << CommandLine::Option.new(opt) }