vertx/src/main/java/eu/internetofus/common/vertx/AbstractMain.java
/**
   * Create the options for the command line.
   *
   * @return the options that can be used on the command line.
   */
Create the options for the command line.
@return the options that can be used on the command line.
Create the options for the command line . @return the options that can be used on the command line .
protected Options createOptions() {
    final var l10n = ResourceBundle.getBundle(AbstractMain.class.getName().replaceAll("\\.", "/"));
    final var options = new Options();
    options.addOption(HELP_OPTION, l10n.getString(HELP_OPTION + "_large"), false,
        l10n.getString(HELP_OPTION + "_description"));
    options.addOption(VERSION_OPTION, l10n.getString(VERSION_OPTION + "_large"), false,
        l10n.getString(VERSION_OPTION + "_description"));
    options.addOption(Option.builder(CONF_DIR_OPTION).longOpt(l10n.getString(CONF_DIR_OPTION + "_large"))
        .numberOfArgs(1).argName(l10n.getString(CONF_DIR_OPTION + "_argName"))
        .desc(l10n.getString(CONF_DIR_OPTION + "_description")).build());
    options.addOption(Option.builder(PROPERTY_OPTION).longOpt(l10n.getString(PROPERTY_OPTION + "_large"))
        .numberOfArgs(2).argName(l10n.getString(PROPERTY_OPTION + "_argName")).valueSeparator()
        .desc(l10n.getString(CONF_DIR_OPTION + "_description")).build());
    return options;
  }
protected Options createOptions ( ) { final var l10n = ResourceBundle . getBundle ( AbstractMain . class . getName ( ) . replaceAll ( "\\." , "/" ) ) ; final var options = new Options ( ) ; options . addOption ( HELP_OPTION , l10n . getString ( HELP_OPTION + "_large" ) , false , l10n . getString ( HELP_OPTION + "_description" ) ) ; options . addOption ( VERSION_OPTION , l10n . getString ( VERSION_OPTION + "_large" ) , false , l10n . getString ( VERSION_OPTION + "_description" ) ) ; options . addOption ( Option . builder ( CONF_DIR_OPTION ) . longOpt ( l10n . getString ( CONF_DIR_OPTION + "_large" ) ) . numberOfArgs ( 1 ) . argName ( l10n . getString ( CONF_DIR_OPTION + "_argName" ) ) . desc ( l10n . getString ( CONF_DIR_OPTION + "_description" ) ) . build ( ) ) ; options . addOption ( Option . builder ( PROPERTY_OPTION ) . longOpt ( l10n . getString ( PROPERTY_OPTION + "_large" ) ) . numberOfArgs ( 2 ) . argName ( l10n . getString ( PROPERTY_OPTION + "_argName" ) ) . valueSeparator ( ) . desc ( l10n . getString ( CONF_DIR_OPTION + "_description" ) ) . build ( ) ) ; return options ; }
Create the options for the command line.
Create the options for the command line .