@@ -137,6 +137,8 @@ warn.release.unexpected.versioned.entry=\
137
137
unexpected versioned entry {0}
138
138
warn.flag.is.deprecated =\
139
139
Warning: The {0} option is deprecated, and is planned for removal in a future JDK release\n
140
+ warn.option.is.ignored =\
141
+ Warning: The {0} option is not valid with current usage, will be ignored.
140
142
out.added.manifest =\
141
143
added manifest
142
144
out.added.module-info =\
@@ -159,6 +161,8 @@ out.create=\
159
161
\ \ created: {0}
160
162
out.extracted =\
161
163
extracted: {0}
164
+ out.kept =\
165
+ \ \ skipped: {0} exists
162
166
out.inflated =\
163
167
\ inflated: {0}
164
168
out.size =\
@@ -236,7 +240,10 @@ main.help.opt.main.list=\
236
240
main.help.opt.main.update =\
237
241
\ -u, --update Update an existing jar archive
238
242
main.help.opt.main.extract =\
239
- \ -x, --extract Extract named (or all) files from the archive
243
+ \ -x, --extract Extract named (or all) files from the archive.\n \
244
+ \ If a file with the same name appears more than once in\n \
245
+ \ the archive, each copy will be extracted, with later copies\n \
246
+ \ overwriting (replacing) earlier copies unless -k is specified.
240
247
main.help.opt.main.describe-module =\
241
248
\ -d, --describe-module Print the module descriptor, or automatic module name
242
249
main.help.opt.main.validate =\
@@ -298,6 +305,15 @@ main.help.opt.create.update.index.date=\
298
305
\ --date=TIMESTAMP The timestamp in ISO-8601 extended offset date-time with\n \
299
306
\ optional time-zone format, to use for the timestamps of\n \
300
307
\ entries, e.g. "2022-02-12T12:30:00-05:00"
308
+ main.help.opt.extract =\
309
+ \ Operation modifiers valid only in extract mode:\n
310
+ main.help.opt.extract.keep-old-files =\
311
+ \ -k, --keep-old-files Do not overwrite existing files.\n \
312
+ \ If a Jar file entry with the same name exists in the target\n \
313
+ \ directory, the existing file will not be overwritten.\n \
314
+ \ As a result, if a file appears more than once in an\n \
315
+ \ archive, later copies will not overwrite earlier copies.\n \
316
+ \ Also note that some file system can be case insensitive.
301
317
main.help.opt.other =\
302
318
\ Other options:\n
303
319
main.help.opt.other.help =\
0 commit comments