code: private static boolean isShortOptionToken(final String argument) {
          return argument.startsWith( SHORT_OPTION_PREFIX )
                  && !SHORT_OPTION_PREFIX.equals( argument )
                  && !isLongOptionToken( argument );
      }
docs: See if the opt parser would think this is a short option ("-")