Remove rb-site's global options variable.

Review Request #11364 — Created Jan. 8, 2021 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

This removes the global options variable from rb-site, making it
easier to test commands, and preparing for some work toward redoing the
argument parsing.

parse_options() now returns the calculated options, and
Command.run() takes it as an argument. These were the only places that
made use of the global variable previously.

Ran all commands successfully.

Commits

Files

    Loading...