Fix asciidoc2html --no-authors
This commit is contained in:
parent
ee4fa6c118
commit
abfadb5631
@ -249,7 +249,8 @@ def main(colors=False):
|
|||||||
"asciidoc.py. If not given, it's searched in PATH.",
|
"asciidoc.py. If not given, it's searched in PATH.",
|
||||||
nargs=2, required=False,
|
nargs=2, required=False,
|
||||||
metavar=('PYTHON', 'ASCIIDOC'))
|
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()
|
args = parser.parse_args()
|
||||||
try:
|
try:
|
||||||
os.mkdir('qutebrowser/html/doc')
|
os.mkdir('qutebrowser/html/doc')
|
||||||
|
Loading…
Reference in New Issue
Block a user