lib/cliutils/prefs/pref.rb in cliutils-1.2.5 vs lib/cliutils/prefs/pref.rb in cliutils-1.2.6
- old
+ new
@@ -99,10 +99,10 @@
# @return [Boolean]
def _confirm_options(text)
ret = true
if @options
unless @options.include?(text)
- @last_error_message = "Invalid option chosen (\"#{ text }\");"\
+ @last_error_message = "Invalid option chosen (\"#{ text }\"); " \
"valid options are: #{ options }"
ret = false
end
end
ret