Skip to content

Commit

Permalink
fix(rez-build): pass both the parser and the group to bind cli
Browse files Browse the repository at this point in the history
Passing only the group is causing a regression where the custom
arguments defined in parse_build_args.py are not properly set
as attributes.

Relates [#587](#587)
  • Loading branch information
lambdaclan committed Apr 2, 2019
1 parent b1b8cd3 commit 992e7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rez/cli/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def setup_parser_common(parser):
cls_ = clss[0]
title = "%s build system arguments" % cls_.name()
group = parser.add_argument_group(title)
cls_.bind_cli(group)
cls_.bind_cli(parser, group)

types = [x.name() for x in clss]
else:
Expand Down

0 comments on commit 992e7e9

Please sign in to comment.