lib/termit/user_input_parser.rb in termit-2.12.1 vs lib/termit/user_input_parser.rb in termit-2.13.0

- old
+ new

@@ -36,10 +36,10 @@ def validate_user_input raise ArgumentError unless @user_input.is_a? Array raise ArgumentError unless @user_input.length > 1 @user_input.first(2).each do |language_code| - raise ArgumentError unless [2, 4].include? language_code.length + raise ArgumentError unless [2,3,4,5].include? language_code.length end end def quit_if_required display_help_and_quit if @user_input.index("-h") || @user_input.empty?