diff options
author | Jim MacArthur <jim.macarthur@codethink.co.uk> | 2018-10-16 10:54:28 +0100 |
---|---|---|
committer | Chandan Singh <csingh43@bloomberg.net> | 2019-01-28 22:36:37 +0000 |
commit | 2bb5e5101ecd52c18f21d962be7793c3bbfa39ac (patch) | |
tree | ae77c33698d66a2b2ff6a2b8a227eed7c5a6e8cc | |
parent | 0a51e0b1975e5bfb4707769fff7d1af32adb81bf (diff) | |
download | buildstream-2bb5e5101ecd52c18f21d962be7793c3bbfa39ac.tar.gz |
bst2html.py: Name the second argument to avoid an error
(cherry picked from commit 1fd38fb74c81d39ca7500d9b7f77c67430ed7852)
Backport of !874.
-rwxr-xr-x | doc/bst2html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/bst2html.py b/doc/bst2html.py index 47ea662b5..193e29a43 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 |