Allow the header and footer to be unset in rbt review edit.

Review Request #12188 — Created March 21, 2022 and submitted — Latest diff uploaded

Information

RBTools
release-3.x

Reviewers

rbt review edit allowed the header and footer to be set, but they then
couldn't be unset. This was due to checking for truthiness when
determining when to set a new value.

Now it checks for presence in options instead. This allows callers to
pass --header "" to unset a header.

Tested setting and then unsetting headers and footers on a review.

Commits

Files