From 1fd38fb74c81d39ca7500d9b7f77c67430ed7852 Mon Sep 17 00:00:00 2001 From: Jim MacArthur Date: Tue, 16 Oct 2018 10:54:28 +0100 Subject: bst2html.py: Name the second argument to avoid an error --- doc/bst2html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bst2html.py b/doc/bst2html.py index e453874fc..d90eba43f 100755 --- a/doc/bst2html.py +++ b/doc/bst2html.py @@ -440,7 +440,7 @@ def run_session(description, tempdir, source_cache, palette, config_file, force) @click.option('--palette', '-p', default='tango', type=click.Choice(['solarized', 'solarized-xterm', 'tango', 'xterm', 'console']), help="Selects a palette for the output style") -@click.argument('description', click.Path(file_okay=True, dir_okay=False, readable=True)) +@click.argument('description', type=click.Path(file_okay=True, dir_okay=False, readable=True)) def run_bst(directory, force, source_cache, description, palette): """Run a bst command and capture stdout/stderr in html -- cgit v1.2.1