lib/spec-i18n/command_line/options.rb in rspec-i18n-0.2.0 vs lib/spec-i18n/command_line/options.rb in rspec-i18n-0.2.1
- old
+ new
@@ -24,10 +24,10 @@
"List keywords for a particular language",
%{Run with "--language help" to see all languages}) do |language|
if language == 'help'
LanguageHelpFormatter.list_languages_and_exit(@output_stream)
else
- LanguageHelpFormatter.list_keywords_and_exit(language)
+ LanguageHelpFormatter.list_keywords_and_exit(@output_stream, language)
end
end
opts.on_tail("-v", "--version", "Show version.") do
@output_stream.puts SpecI18n::VERSION
Kernel.exit(0)
\ No newline at end of file