Parse and validate the command line parameters.
(String... args)
| 342 | * Parse and validate the command line parameters. |
| 343 | */ |
| 344 | public void parse(String... args) { |
| 345 | try { |
| 346 | parse(true /* validate */, args); |
| 347 | } catch(ParameterException ex) { |
| 348 | ex.setJCommander(this); |
| 349 | throw ex; |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /** |
| 354 | * Parse the command line parameters without validating them. |