summaryrefslogtreecommitdiff
path: root/scripts/asciidoc2html.py
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2016-03-16 07:11:40 +0100
committerFlorian Bruhin <git@the-compiler.org>2016-03-16 07:11:40 +0100
commitb76886d2ff899359e38a5484a5dacf9360ce3f7d (patch)
treeb87ebecadf08bf3e2ce6a0bc27f9f8f04169c9e8 /scripts/asciidoc2html.py
parenta2b9749dbfb5bd7c37fa573be6eb8d1461996374 (diff)
downloadqutebrowser-b76886d2ff899359e38a5484a5dacf9360ce3f7d.tar.gz
qutebrowser-b76886d2ff899359e38a5484a5dacf9360ce3f7d.zip
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.
Diffstat (limited to 'scripts/asciidoc2html.py')
-rwxr-xr-xscripts/asciidoc2html.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py
index dfcb342a3..3a02f7c66 100755
--- a/scripts/asciidoc2html.py
+++ b/scripts/asciidoc2html.py
@@ -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')