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

Jar help doesn't show usage of -p

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 8
    • tools
    • jar
    • 8

      Running jar without commands shows:

      Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...

      This doesn't show the correct usage of the -p option (included in option lists)

      The usage should be something like:

      Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [profile-name] [-C dir] files ...

      or

      Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [compact{123}] [-C dir] files ...

            alanb Alan Bateman
            strarup Peter Jensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: