Fix asciidoc2html --no-authors

This commit is contained in:
Florian Bruhin 2016-03-16 07:35:12 +01:00
parent ee4fa6c118
commit abfadb5631

View File

@ -249,7 +249,8 @@ 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)
parser.add_argument('--no-authors', help=argparse.SUPPRESS,
action='store_true')
args = parser.parse_args()
try:
os.mkdir('qutebrowser/html/doc')