Changing error message.

This commit is contained in:
mark_story 2010-10-10 15:46:37 -04:00
parent 56292b658c
commit 8ee158226a

View file

@ -128,7 +128,7 @@ class ConsoleInputOption {
}
if (!in_array($value, $this->_choices)) {
throw new InvalidArgumentException(
sprintf(__('"%s" is not a valid option for --%s'), $value, $this->_name)
sprintf(__('"%s" is not a valid value for --%s'), $value, $this->_name)
);
}
return true;