--- old/src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties 2016-01-19 16:20:26.000000000 +0000 +++ new/src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties 2016-01-19 16:20:25.000000000 +0000 @@ -23,10 +23,18 @@ # questions. # +error.multiple.main.operations=\ + You may not specify more than one '-cuxti' options error.cant.open=\ - can''t open: {0} + can''t open: {0} error.illegal.option=\ Illegal option: {0} +error.unrecognized.option=\ + unrecognized option : {0} +error.missing.arg=\ + option {0} requires an argument +error.bad.file.arg=\ + Error parsing file arguments error.bad.option=\ One of options -{ctxu} must be specified. error.bad.cflag=\ @@ -67,7 +75,7 @@ out.size=\ (in = {0}) (out= {1}) -usage=\ +usage.compat=\ Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\ Options:\n\ \ \ -c create new archive\n\ @@ -93,3 +101,75 @@ Example 2: use an existing manifest file 'mymanifest' and archive all the\n\ \ \ files in the foo/ directory into 'classes.jar': \n\ \ \ jar cvfm classes.jar mymanifest -C foo/ .\n + +main.usage.summary=\ +jar: You must specify one of -ctxui options. +main.usage.summary.try=\ +Try `jar --help' for more information. + +main.help.preopt=\ +Usage: jar [OPTION...] [-C dir] files ...\n\ +jar creates an archive for classes and resources, and can manipulate or\n\ +restore individual classes or resources from an archive.\n\ +\n\ +\ Examples:\n\ +\ # Create an archive called classes.jar with two class files:\n\ +\ jar --create --file classes.jar Foo.class Bar.class\n\ +\ # Create an archive using an existing manifest, with all the files in foo/:\n\ +\ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n +main.help.opt.main=\ +\ Main operation mode: +main.help.opt.main.create=\ +\ -c, --create Create the archive +main.help.opt.main.generate-index=\ +\ -i, --generate-index=FILE Generate index information for the specified jar\n\ +\ archives +main.help.opt.main.list=\ +\ -t, --list List the table of contents for the archive +main.help.opt.main.update=\ +\ -u, --update Update an existing jar archive +main.help.opt.main.extract=\ +\ -x, --extract Extract named (or all) files from the archive +main.help.opt.any=\ +\ Operation modifiers valid in any mode:\n\ +\n\ +\ -C DIR, Change to the specified directory and include the\n\ +\ following file +main.help.opt.any.file=\ +\ -f, --file=FILE The archive file name +main.help.opt.any.verbose=\ +\ -v, --verbose Generate verbose output on standard output +main.help.opt.create=\ +\ Operation modifiers valid only in create mode: +main.help.opt.create.pack200=\ +\ -n, --pack200 Perform Pack200 normalization after creating a\n\ +\ new archive +main.help.opt.create.update=\ +\ Operation modifiers valid only in create and update mode: +main.help.opt.create.update.main-class=\ +\ -e, --main-class=CLASSNAME The application entry point for stand-alone\n\ +\ applications bundled into a modular, or executable,\n\ +\ jar archive +main.help.opt.create.update.manifest=\ +\ -m, --manifest=FILE Include the manifest information from the given\n\ +\ manifest file +main.help.opt.create.update.no-manifest=\ +\ -M, --no-manifest Do not create a manifest file for the entries +main.help.opt.create.update.index=\ +\ Operation modifiers valid only in create, update, and generate-index mode: +main.help.opt.create.update.index.no-compress=\ +\ -0, --no-compress Store only; use no ZIP compression +main.help.opt.other=\ +\ Other options: +main.help.opt.other.help=\ +\ -?, --help give this help list +main.help.opt.other.usage=\ +\ --usage give a short usage message +main.help.opt.other.version=\ +\ --version print program version +main.help.postopt=\ +\ Mandatory or optional arguments to long options are also mandatory or optional\n\ +\ for any corresponding short options.\n\ +\n\ +\n\ +\Compatibility Interface: