code: private void addOption(String nameOrAlias, CliOptionContainer option) {
  
      CliOptionContainer old = this.name2OptionMap.put(nameOrAlias, option);
      if (old != null) {
        throw new DuplicateObjectException(option, nameOrAlias);
      }
    }
docs: This method {@link #getOption(String) registers} the given {@link CliOptionContainer option} with the given
  {@code name}.
  
  @param nameOrAlias is the {@link CliOption#name()} or {@link CliOption#aliases() alias} of the option.
  @param option is the {@link CliOptionContainer option} to register.