require 'clamp' if Clamp.respond_to?(:messages=) Clamp.messages = { :too_many_arguments => _("too many arguments"), :option_required => _("option '%s' is required"), :option_or_env_required => _("option '%s' (or env %s) is required"), :option_argument_error => _("option '%s': %s"), :parameter_argument_error => _("parameter '%s': %s"), :env_argument_error => _("%s: %s"), :unrecognised_option => _("Unrecognised option '%s'"), :no_such_subcommand => _("No such sub-command '%s'"), :no_value_provided => _("no value provided") } end