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
Pass both the parser and group object to the bind cli function since
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 17, 2019
1 parent c3b89fe commit e7aecb4
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 e7aecb4

Please sign in to comment.