Ignore --no-authors in asciidoc2html.py

This makes it possible to run "tox -e docs -- --no-args" with {posargs} passed
to both src2asciidoc.py and asciidoc2html.py.
This commit is contained in:
Florian Bruhin 2016-03-16 07:11:40 +01:00
parent a2b9749dbf
commit b76886d2ff

View File

@ -249,6 +249,7 @@ def main(colors=False):
"asciidoc.py. If not given, it's searched in PATH.",
nargs=2, required=False,
metavar=('PYTHON', 'ASCIIDOC'))
parser.add_argument('--no-authors', help=argparse.SUPPRESS)
args = parser.parse_args()
try:
os.mkdir('qutebrowser/html/doc')