Commit 2d6232ee authored by Fabio Pelosin's avatar Fabio Pelosin

[Lib::Lint] Inform users about the option

parent c4a962df
...@@ -121,7 +121,12 @@ module Pod ...@@ -121,7 +121,12 @@ module Pod
if validator.validated? if validator.validated?
UI.puts "#{validator.spec.name} passed validation.".green UI.puts "#{validator.spec.name} passed validation.".green
else else
raise Informative, "#{validator.spec.name} did not pass validation." message = "#{validator.spec.name} did not pass validation."
if @clean
message << "\nYou can use the `--no-clean` option to inspect " \
"any issue."
end
raise Informative, message
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment