Does an argument with label exist?
(String label)
| 416 | * Does an argument with label exist? |
| 417 | */ |
| 418 | public boolean hasOption(String label) { |
| 419 | int n = findOption(label); |
| 420 | if (n == -1) { |
| 421 | return false; |
| 422 | } |
| 423 | |
| 424 | return options[n].isAvailable; |
| 425 | } |
| 426 | |
| 427 | /** |
| 428 | * Return the value of an integer option |