Returns the specified command option. @param typ options enumeration @param token type @return option
(final Class<E> typ)
| 334 | * @return option |
| 335 | */ |
| 336 | protected final <E extends Enum<E>> E getOption(final Class<E> typ) { |
| 337 | final E e = getOption(args[0], typ); |
| 338 | if(e == null) error(UNKNOWN_TRY_X, args[0]); |
| 339 | return e; |
| 340 | } |
| 341 | |
| 342 | /** |
| 343 | * Adds the name of the database that has been addressed by the argument index. |
no test coverage detected