bin/check-links in link-checker-0.4.0 vs bin/check-links in link-checker-0.5.0
- old
+ new
@@ -3,8 +3,9 @@
require 'link_checker'
require 'trollop'
options = Trollop::options do
opt :no_warnings, "Don't warn about redirects to valid links"
+ opt :warnings_are_errors, "Treat any warning as an error and produce an error return code"
end
exit LinkChecker.new(:options => options, :target => ARGV[0]).check_uris
\ No newline at end of file