Do not always overwrite --guess-summary and --guess-description with -g

Review Request #8610 - Created Jan. 11, 2017 and submitted

Barret Rennie
RBTools
release-0.7.x
rbtools

rbt post would always overwrite the value of --guess-summary and
--guess-description with the value of --guess-fields, whether or
not it was actually provided; when -g is not provided, all three
flags will default to auto.

Now we check for the presence of these fields and only overwrite
--guess-summary and --guess-description when they are not provided
and --guess-fields is. Otherwise, when one of --guess-summary or
--guess-description is not provided, it will be set to the value of
--guess-fields.

Ran rbt post with different values of --guess-fields,
--guess-summary, and --guess-description and saw the expected
behaviour.

Review Bot
Barret Rennie
Christian Hammond
Alex
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.7.x (2f7b2d4)
Loading...