code: private static Group configureCommandLine() {
          DefaultOptionBuilder oBuilder = new DefaultOptionBuilder();
          ArgumentBuilder aBuilder = new ArgumentBuilder();
          GroupBuilder gBuilder = new GroupBuilder();
  
          DefaultOption listOption = oBuilder.withLongName("list").withShortName("l").withDescription("Lists all the installed plugins").create();
  
          DefaultOption versionOption = oBuilder.withLongName("version").withShortName("v").withDescription("Print the server version number").create();
  
          DefaultOption helpOption = oBuilder.withLongName("help").withShortName("h").withDescription("Show this help").create();
  
          // DefaultOption pluginNameOption = oBuilder.withLongName("plugin")
          // .withShortName("p").withDescription("The plugin name")
          // .withArgument(
          // aBuilder.withName("name").withMinimum(1).withMaximum(1)
          // .create()).create();
  
          DefaultOption pluginHelpOption = oBuilder.withLongName("help").withShortName("h").withDescription("Shows help about a plugin")
                  .withArgument(aBuilder.withName("name").withMinimum(1).withMaximum(1).create()).create();
  
          Group alternativeOptions = gBuilder.withOption(listOption).withOption(pluginHelpOption).create();
  
          DefaultOption confOption = oBuilder.withLongName("conf").withShortName("c").withDescription("Specifies the JNRPE configuration file")
                  .withArgument(aBuilder.withName("path").withMinimum(1).withMaximum(1).create()).withChildren(alternativeOptions).withRequired(true)
                  .create();
  
          DefaultOption interactiveOption = oBuilder.withLongName("interactive").withShortName("i")
                  .withDescription("Starts JNRPE in command line mode").create();
  
          Group jnrpeOptions = gBuilder.withOption(confOption).withOption(interactiveOption).withMinimum(1).create();
  
          return gBuilder.withOption(versionOption).withOption(helpOption).withOption(jnrpeOptions).create();
      }
docs: Configure the command line parser.
  
  @return The configuration