diff options
-rw-r--r-- | buildstream/_frontend/cli.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/_frontend/cli.py b/buildstream/_frontend/cli.py index 5ed967d9d..bc17fed87 100644 --- a/buildstream/_frontend/cli.py +++ b/buildstream/_frontend/cli.py @@ -189,6 +189,10 @@ def cli(context, **kwargs): context.obj = App.create(dict(kwargs)) context.call_on_close(context.obj.cleanup) +@cli.command(short_help="Print usage information") +@click.pass_context +def help(ctx): + click.echo(ctx.parent.get_help()) ################################################################## # Init Command # |