lib/society/cli.rb in society-1.4.0 vs lib/society/cli.rb in society-1.4.1

- old
+ new

@@ -10,11 +10,11 @@ desc "from PATH_TO_FILE [-f FORMAT] [-o OUTPUT_PATH]", desc_text method_option :format, :type => :string, :default => 'html', :aliases => "-f" method_option :output, :type => :string, :aliases => "-o" - def from(path) - Society.new(path).report(format, options['output']) + def from(*path) + Society.new(*path).report(format, options['output']) end default_task :from private