8165035: jar --help-extra should provide information on the -n/--normalize option

Reviewed-by: chegar, alanb, mchung, lancea, sherman
This commit is contained in:
Paul Sandoz 2017-02-15 09:10:51 -08:00
parent b0bb2c0084
commit 06252eb14f
2 changed files with 6 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class GNUStyleOptions {
void process(Main jartool, String opt, String arg) {
jartool.nflag = true;
}
boolean isHidden() { return true; }
boolean isExtra() { return true; }
},
new Option(true, OptionType.CREATE_UPDATE, "--main-class", "-e") {
void process(Main jartool, String opt, String arg) {

View File

@ -238,6 +238,11 @@ main.help.opt.any.file=\
\ of the jar (i.e. META-INF/versions/VERSION/)
main.help.opt.any.verbose=\
\ -v, --verbose Generate verbose output on standard output
main.help.opt.create=\
\ Operation modifiers valid only in create mode:\n
main.help.opt.create.normalize=\
\ -n, --normalize Normalize information in the new jar archive\n\
\ after creation
main.help.opt.create.update=\
\ Operation modifiers valid only in create and update mode:\n
main.help.opt.create.update.main-class=\