code: public int getThreadNumber() {
          if (cli.hasOption(THREAD_NUMBER)) {
              return Integer.valueOf(cli.getOptionValue(THREAD_NUMBER));
          }
  
          return DEFAULT_THREAD_NUMBER;
      }
docs: If thread number option is true, returns thread number. If false, returns default number.
  @return If true, local mode.