lib/clamp/command.rb in clamp-0.6.5 vs lib/clamp/command.rb in clamp-1.0.0

- old
+ new

@@ -1,5 +1,6 @@ +require 'clamp/messages' require 'clamp/errors' require 'clamp/help' require 'clamp/option/declaration' require 'clamp/option/parsing' require 'clamp/parameter/declaration' @@ -89,10 +90,10 @@ attr_accessor :context def handle_remaining_arguments unless remaining_arguments.empty? - signal_usage_error "too many arguments" + signal_usage_error Clamp.message(:too_many_arguments) end end private