Skip to content

Commit

Permalink
abetter help and updated README. refs #4
Browse files Browse the repository at this point in the history
  • Loading branch information
bartdag committed Aug 17, 2015
1 parent 04d326c commit 283bfdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ usage examples.
Username to use with basic HTTP authentication
-p PASSWORD, --password=PASSWORD
Password to use with basic HTTP authentication
-D HEADER, --header=HEADER
custom header of the form Header: Value (repeat for
multiple headers)
-t TYPES, --types=TYPES
Comma-separated values of tags to look for when
crawling a site. Default (and supported types):
Expand Down
2 changes: 1 addition & 1 deletion pylinkvalidator/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def _build_parser(self):
help="password to use with basic HTTP authentication")
crawler_group.add_option(
"-D", "--header",
dest="headers", action="append",
dest="headers", action="append", metavar="HEADER",
help="custom header of the form Header: Value "
"(repeat for multiple headers)")
# crawler_group.add_option("-U", "--unique", dest="unique",
Expand Down

0 comments on commit 283bfdd

Please sign in to comment.