Refactor the command line argument parser to use the latest API.

RELNOTES:none
PiperOrigin-RevId: 185027580
GitOrigin-RevId: 5ac4d7ad1ef9685b04aa58d4dfa15a38a42573d8
Change-Id: Idb27e1c1be02a5b8e0e9702fabeb9366424826ef
1 file changed
tree: 02219485f8047c31259b63e07267a4f54e08a4b6
  1. java/
  2. test/