README.md in awesome_bot-1.15.0 vs README.md in awesome_bot-1.16.0
- old
+ new
@@ -25,10 +25,11 @@
-a, --allow [errors] Status code errors to allow
--allow-dupe Duplicate URLs are allowed
--allow-ssl SSL errors are allowed
--allow-redirect Redirected URLs are allowed
--allow-timeout URLs that time out are allowed
+ --base-url [base url] Base URL to use for relative links
-d, --request-delay [seconds] Set request delay
-t, --set-timeout [seconds] Set connection timeout
--skip-save-results Skip saving results
-w, --white-list [urls] Comma separated URLs to white list
```
@@ -80,9 +81,12 @@
# speed up validation by setting a timeout of 5 seconds per link request and allowing timeouts
$ awesome_bot README.md --allow 403,429
# allow status code errors 403 and 429
# --allow 301 would be similar to --allow-redirect
+
+$ awesome_bot README.md --base-url https://github.com/IDR/idr-notebooks/blob/master/
+# will check relative links using the base url provided
```
```shell
(master) $ git branch
* master