summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim+gitlab@mode7.co.uk>2018-10-16 15:28:15 +0000
committerJim MacArthur <jim+gitlab@mode7.co.uk>2018-10-16 15:28:15 +0000
commitb023d5c01abbc2b74ee9d150b7999e647da0951a (patch)
tree4af7703c54eea798f9491e86a592aef93661a823
parent0a5db2290eddf7197cb499c060836ae79d27fe53 (diff)
parent1fd38fb74c81d39ca7500d9b7f77c67430ed7852 (diff)
downloadbuildstream-b023d5c01abbc2b74ee9d150b7999e647da0951a.tar.gz
Merge branch 'jmac/doc-argument-fix' into 'master'
Add named argument in bst2html.py to fix documentation See merge request BuildStream/buildstream!874
-rwxr-xr-xdoc/bst2html.py2
1 files changed, 1 insertions, 1 deletions
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