Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8250921

Manpage of javadoc contains wrong example for -doctitle option

    XMLWordPrintable

Details

    • b28
    • generic
    • generic

    Description

      The example at the end of the description for `-doctitle` option refers to `-header`:

      > For example,`javadoc -header "<b>My Library</b><br>v1.0" com.mypackage`.

      It should read `javadoc -doctitle ...` instead.

      Manpage of Javadoc 14
      https://docs.oracle.com/en/java/javase/14/docs/specs/man/javadoc.html#standard-doclet-options

      Manpage source
      https://github.com/openjdk/jdk/blob/93904460818dfbd6bf028b06777238603ce78614/src/jdk.javadoc/share/man/javadoc.1#L599

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            cstein Christian Stein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: