Method: GetText::Tools::XGetText#check_command_line_options
- Defined in:
- lib/gettext/tools/xgettext.rb
#check_command_line_options(*options) ⇒ Object
:nodoc:
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'lib/gettext/tools/xgettext.rb', line 190 def (*) # :nodoc: input_files, output = parse_arguments(*) if input_files.empty? raise ArgumentError, _("no input files") end output ||= STDOUT @input_files = input_files @output = output @package_name ||= "PACKAGE" @package_version ||= "VERSION" @msgid_bugs_address ||= "" @copyright_holder ||= "THE PACKAGE'S COPYRIGHT HOLDER" end |