Advertisement
Guest User

Untitled

a guest
Jun 28th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. diff --git a/src/buildstream/_frontend/cli.py b/src/buildstream/_frontend/cli.py
  2. index bbb9240f..96ce742a 100644
  3. --- a/src/buildstream/_frontend/cli.py
  4. +++ b/src/buildstream/_frontend/cli.py
  5. @@ -217,7 +217,7 @@ def print_version(ctx, param, value):
  6. @click.option('--config', '-c',
  7. type=click.Path(exists=True, dir_okay=False, readable=True),
  8. help="Configuration file to use")
  9. [email protected]('--directory', '-C', default=os.getcwd(),
  10. [email protected]('--directory', '-C', default=None,
  11. type=click.Path(file_okay=False, readable=True),
  12. help="Project directory (default: current directory)")
  13. @click.option('--on-error', default=None,
  14. @@ -268,6 +268,7 @@ def cli(context, **kwargs):
  15. from .app import App
  16.  
  17. # Create the App, giving it the main arguments
  18. + print(str(dict(kwargs)))
  19. context.obj = App.create(dict(kwargs))
  20. context.call_on_close(context.obj.cleanup)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement