code: private void addOption(CliOptionContainer optionContainer) {
  
      CliOption cliOption = optionContainer.getOption();
      addOption(cliOption.name(), optionContainer);
      for (String alias : cliOption.aliases()) {
        addOption(alias, optionContainer);
      }
      this.optionList.add(optionContainer);
      String modeId = optionContainer.getOption().mode();
      requireMode(modeId, optionContainer);
    }
docs: This method {@link #getOptions() registers} the given {@link CliOptionContainer option}.
  
  @param optionContainer is the {@link CliOptionContainer option} to register.