summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-02-28 18:30:39 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-03-02 16:11:54 +0900
commite0eb51b15e92079db3b20d64ff0e4f4b8205ccfb (patch)
tree022a55cdd0a28fd699baf19c43863e4fac050685
parent09195b1933d78f12e0de7144f9f3cf449ba41c28 (diff)
downloadbuildstream-e0eb51b15e92079db3b20d64ff0e4f4b8205ccfb.tar.gz
_frontend/cli.py: Better help output for the `--option` main option.
Added metavar, making it more clear that you specify: bst --option OPTION VALUE
-rw-r--r--buildstream/_frontend/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/cli.py b/buildstream/_frontend/cli.py
index be84902d9..8d16076b8 100644
--- a/buildstream/_frontend/cli.py
+++ b/buildstream/_frontend/cli.py
@@ -147,7 +147,7 @@ click.BaseCommand.main = override_main
help="Force enable/disable ANSI color codes in output")
@click.option('--strict/--no-strict', default=None, is_flag=True,
help="Elements must be rebuilt when their dependencies have changed")
-@click.option('--option', '-o', type=click.Tuple([str, str]), multiple=True,
+@click.option('--option', '-o', type=click.Tuple([str, str]), multiple=True, metavar='OPTION VALUE',
help="Specify a project option")
@click.pass_context
def cli(context, **kwargs):