Skip to content

Commit

Permalink
Add --allowlist flag to one version
Browse files Browse the repository at this point in the history
Follow-up to ba57570

PiperOrigin-RevId: 674452799
Change-Id: I4892f462b54eb4bbc0849f7b99c50c45ff876613
  • Loading branch information
cushon authored and copybara-github committed Sep 13, 2024
1 parent 33775c9 commit 7b8d072
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/one_version/one_version_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ int main(int argc, char *argv[]) {
if (tokens.MatchAndSet("--output", &output_file) ||
tokens.MatchAndSet("--succeed_on_found_violations",
&succeed_on_found_violations) ||
// TODO(b/366268295): remove once the flag is no longer used
tokens.MatchAndSet("--whitelist", &allowlist_file) ||
tokens.MatchAndSet("--allowlist", &allowlist_file) ||
tokens.MatchAndSet("--inputs", &inputs)) {
} else {
std::cerr << "error: bad command line argument " << tokens.token()
Expand Down

0 comments on commit 7b8d072

Please sign in to comment.