code: @SuppressWarnings("static-access")
    public static Options buildOptions() {
      Options options = new Options();
  
      // actual commands
      options.addOption(OptionBuilder.hasOptionalArgs().create(waitTxIdCommand));
      options.addOption(OptionBuilder.hasOptionalArgs().create(failoverCommand));
      options.addOption(OptionBuilder.hasOptionalArgs().create(
          prepfailoverCommand));
  
      options.addOption(OptionBuilder.hasOptionalArgs().create(metasaveCommand));
      options.addOption(OptionBuilder.hasOptionalArgs().create(safemodeCommand));
      options.addOption(OptionBuilder.hasOptionalArgs().create(
          saveNamespaceCommand));
  
      options.addOption(OptionBuilder.hasOptionalArgs().create(setAvatarCommand));
      options.addOption(OptionBuilder.hasOptionalArgs().create(
          isInitializedCommand));
      options.addOption(OptionBuilder.hasOptionalArgs().create(
          shutdownAvatarCommand));
      options
          .addOption(OptionBuilder.hasOptionalArgs().create(showAvatarCommand));
  
      // helper commands
      options.addOption(OptionBuilder.hasOptionalArgs().create(zeroCommand));
      options.addOption(OptionBuilder.hasOptionalArgs().create(oneCommand));
  
      options.addOption(OptionBuilder.hasOptionalArgs().create(serviceCommand));
      options.addOption(OptionBuilder.hasOptionalArgs().create(addressCommand));
  
      return options;
    }
docs: Build command-line options and descriptions