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

Address typos in jar man page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • tools
    • jar
    • b23

      The jar doc states "=" can be used in either style of option, ex:

      -f=FILE or --file=FILE

      but only the GNU style option (--file) accepts "=", ex:

      $ jar -c --main-class=CheckIfJarIsSigned -f=CheckIfJarIsSigned.jar CheckIfJarIsSigned.class
      unrecognized option : -f=CheckIfJarIsSigned.jar

      $ jar -c --main-class=CheckIfJarIsSigned --file=CheckIfJarIsSigned.jar CheckIfJarIsSigned.class

            lancea Lance Andersen
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: