code: public int printOptions(Options options) {
          Collection<Option> optList = options.getAllOptions();
          StringBuilder sb = new StringBuilder();
          int leftWidth = 0;
          if (!options.isEmpty()) {
              leftWidth = renderOptions(sb, optList);
              if (sb.length() > 0) {
                  if (StringUtils.hasLength(options.getTitle())) {
                      console.writeLine(options.getTitle());
                  }
                  console.writeLine(sb.toString());
              }
          }
          return leftWidth;
      }
docs: Print the help for the specified Options to the specified writer,
  using the specified width, left padding and description padding.
  
  @param options the Options instance
  @return the longest opt string's length