setCurrentOption

Sets the current option. This method is called by concrete option
implementations during command line processing. It enables the command
line to keep track about the option that is currently processed.

looksLikeOption

Tests whether the passed in trigger looks like an option. This
implementation first checks whether the passed in string starts with a
prefix that indicates an option. If this is the case, it is also checked
whether an option of this name is known for the current option. (This can
lead to reentrant invocations of this method, so care has to be taken
about this.)