Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/buildstream/_frontend/cli.py b/src/buildstream/_frontend/cli.py
- index bbb9240f..96ce742a 100644
- --- a/src/buildstream/_frontend/cli.py
- +++ b/src/buildstream/_frontend/cli.py
- @@ -217,7 +217,7 @@ def print_version(ctx, param, value):
- @click.option('--config', '-c',
- type=click.Path(exists=True, dir_okay=False, readable=True),
- help="Configuration file to use")
- [email protected]('--directory', '-C', default=os.getcwd(),
- [email protected]('--directory', '-C', default=None,
- type=click.Path(file_okay=False, readable=True),
- help="Project directory (default: current directory)")
- @click.option('--on-error', default=None,
- @@ -268,6 +268,7 @@ def cli(context, **kwargs):
- from .app import App
- # Create the App, giving it the main arguments
- + print(str(dict(kwargs)))
- context.obj = App.create(dict(kwargs))
- context.call_on_close(context.obj.cleanup)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement