Skip to content

Commit

Permalink
Changing error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 14, 2010
1 parent 56292b6 commit 8ee1582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/console/console_input_option.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function validChoice($value) {
}
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;
Expand Down

0 comments on commit 8ee1582

Please sign in to comment.