l10n.properties revision 3898:491ba4ffb03a
1# 2# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# This code is free software; you can redistribute it and/or modify it 6# under the terms of the GNU General Public License version 2 only, as 7# published by the Free Software Foundation. Oracle designates this 8# particular file as subject to the "Classpath" exception as provided 9# by Oracle in the LICENSE file that accompanied this code. 10# 11# This code is distributed in the hope that it will be useful, but WITHOUT 12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14# version 2 for more details (a copy is included in the LICENSE file that 15# accompanied this code). 16# 17# You should have received a copy of the GNU General Public License version 18# 2 along with this work; if not, write to the Free Software Foundation, 19# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20# 21# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22# or visit www.oracle.com if you need additional information or have any 23# questions. 24# 25 26jshell.msg.welcome =\ 27Welcome to JShell -- Version {0}\n\ 28For an introduction type: /help intro 29jshell.err.opt.arg = Argument to {0} missing. 30jshell.err.opt.invalid = Invalid options: {0}. 31jshell.err.opt.one = Only one {0} option may be used. 32jshell.err.opt.startup.conflict = Conflicting options: both --startup and --no-startup were used. 33jshell.err.opt.feedback.one = Only one feedback option (--feedback, -q, -s, or -v) may be used. 34jshell.err.opt.unknown = Unknown option: {0} 35 36jshell.msg.terminated =\ 37State engine terminated.\n\ 38Restore definitions with: /reload -restore 39 40jshell.msg.use.one.of = Use one of: {0} 41jshell.msg.see.classes.etc = See /types, /methods, /vars, or /list 42jshell.err.arg = Invalid ''{0}'' argument: {1} 43jshell.msg.see = See {0} for help. 44 45jshell.err.file.not.accessible = File ''{1}'' for ''{0}'' is not accessible: {2} 46jshell.err.file.not.found = File ''{1}'' for ''{0}'' is not found. 47jshell.err.file.exception = File ''{1}'' for ''{0}'' threw exception: {2} 48jshell.err.file.filename = ''{0}'' requires a filename argument. 49 50jshell.err.startup.unexpected.exception = Unexpected exception reading start-up: {0} 51jshell.err.unexpected.exception = Unexpected exception: {0} 52 53jshell.err.no.such.command.or.snippet.id = No such command or snippet id: {0} 54jshell.err.command.ambiguous = Command: ''{0}'' is ambiguous: {1} 55jshell.msg.set.restore = Setting new options and restoring state. 56jshell.msg.set.editor.set = Editor set to: {0} 57jshell.msg.set.editor.retain = Editor setting retained: {0} 58jshell.err.no.builtin.editor = Built-in editor not available. 59jshell.err.cant.launch.editor = Cannot launch built-in editor -- unexpected exception: {0} 60jshell.msg.try.set.editor = See ''/help /set editor'' to use external editor. 61jshell.msg.press.return.to.leave.edit.mode = Press return to leave edit mode. 62jshell.err.wait.applies.to.external.editor = -wait applies to external editors 63jshell.label.editpad = JShell Edit Pad 64 65jshell.err.setting.to.retain.must.be.specified = The setting to retain must be specified -- {0} 66jshell.msg.set.show.mode.settings = \nTo show mode settings use ''/set prompt'', ''/set truncation'', ...\n\ 67or use ''/set mode'' followed by the feedback mode name. 68jshell.err.continuation.prompt.required = Continuation prompt required -- {0} 69 70jshell.msg.try.command.without.args = Try ''{0}'' without arguments. 71jshell.msg.no.active = There are no active definitions. 72 73jshell.msg.resetting = Resetting... 74jshell.msg.resetting.state = Resetting state. 75 76jshell.err.reload.no.previous = No previous history to restore 77jshell.err.reload.restarting.previous.state = Restarting and restoring from previous state. 78jshell.err.reload.restarting.state = Restarting and restoring state. 79 80jshell.msg.vars.not.active = (not-active) 81 82jshell.err.out.of.range = Out of range 83 84jshell.msg.error = Error: 85jshell.msg.warning = Warning: 86 87jshell.err.sub.arg = The ''{0}'' command requires a sub-command. See: ''/help {0}'' 88jshell.err.sub.ambiguous = Ambiguous sub-command argument to ''{0}'': {1} 89 90jshell.err.classpath.arg = The /classpath command requires a path argument. 91jshell.msg.classpath = Path ''{0}'' added to classpath 92 93jshell.err.help.arg = No commands or subjects start with the provided argument: {0} 94jshell.msg.help.begin =\ 95Type a Java language expression, statement, or declaration.\n\ 96Or type one of the following commands:\n 97jshell.msg.help.subject =\n\ 98For more information type ''/help'' followed by the name of a\n\ 99command or a subject.\n\ 100For example ''/help /list'' or ''/help intro''. Subjects:\n 101 102jshell.err.drop.arg =\ 103In the /drop argument, please specify an import, variable, method, or class to drop.\n\ 104Specify by id or name. Use /list to see ids. Use /reset to reset all state. 105jshell.err.drop.ambiguous = The argument references more than one import, variable, method, or class. 106jshell.err.failed = Failed. 107jshell.msg.native.method = Native Method 108jshell.msg.unknown.source = Unknown Source 109jshell.msg.goodbye = Goodbye 110 111jshell.msg.help.for.help = Type /help for help. 112 113jshell.err.mode.name = Expected a feedback mode name: {0} 114jshell.err.missing.mode = Missing the feedback mode -- {0} 115jshell.err.field.name = Expected a field name: {0} -- {1} 116jshell.err.mode.unknown = No feedback mode named: {0} -- {1} 117 118jshell.err.feedback.does.not.match.mode = Does not match any current feedback mode: {0} -- {1} 119jshell.err.feedback.ambiguous.mode = Matches more then one current feedback mode: {0} -- {1} 120jshell.err.feedback.must.be.quoted = Format ''{0}'' must be quoted -- {1} 121jshell.err.feedback.not.a.valid.selector = Not a valid selector ''{0}'' in ''{1}'' -- {2} 122jshell.err.feedback.multiple.sections = Selector kind in multiple sections of selector list ''{0}'' in ''{1}'' -- {2} 123jshell.err.feedback.different.selector.kinds = Different selector kinds in same sections of selector list ''{0}'' in ''{1}'' -- {2} 124 125jshell.msg.feedback.new.mode = Created new feedback mode: {0} 126jshell.msg.feedback.mode = Feedback mode: {0} 127jshell.msg.feedback.mode.following = Available feedback modes: 128jshell.msg.feedback.retained.mode.following = Retained feedback modes: 129jshell.err.mode.creation = To create a new mode either the -command or the -quiet option must be used -- {0} 130jshell.err.mode.exists = Mode to be created already exists: {0} -- {1} 131 132jshell.err.truncation.expected.length = Expected truncation length -- {0} 133jshell.err.truncation.length.not.integer = Truncation length must be an integer: {0} -- {1} 134 135jshell.err.not.valid.with.predefined.mode = Not valid with a predefined mode: {0} -- {1} 136jshell.err.retained.feedback.mode.must.be.retained.or.predefined = \ 137''/set feedback -retain <mode>'' requires that <mode> is predefined or has been retained with ''/set mode -retain'' -- {0} 138 139jshell.err.unknown.option = Unknown option: {0} -- {1} 140jshell.err.default.option.or.program = Specify -default option, -delete option, or program -- {0} 141jshell.err.option.or.filename = Specify no more than one of -default, -none, or a startup file name -- {0} 142jshell.err.unexpected.at.end = Unexpected arguments at end of command: {0} -- {1} 143jshell.err.conflicting.options = Conflicting options -- {0} 144jshell.err.cannot.delete.current.mode = The current feedback mode ''{0}'' cannot be deleted, use ''/set feedback'' first -- {1} 145jshell.err.cannot.delete.retained.mode = The retained feedback mode ''{0}'' cannot be deleted, use ''/set feedback -retain'' first -- {1} 146jshell.err.may.not.specify.options.and.snippets = Options and snippets must not both be used: {0} 147jshell.err.no.such.snippets = No such snippet: {0} 148jshell.err.the.snippet.cannot.be.used.with.this.command = This command does not accept the snippet ''{0}'' : {1} 149jshell.err.retained.mode.failure = Failure in retained modes (modes cleared) -- {0} {1} 150 151jshell.err.corrupted.stored.startup = Corrupted stored startup, using default -- {0} 152 153jshell.console.see.more = <press tab to see more> 154jshell.console.see.javadoc = <press shift-tab again to see javadoc> 155jshell.console.see.help = <press shift-tab again to see detailed help> 156jshell.console.see.next.page = <press space for next page, Q to quit> 157jshell.console.see.next.javadoc = <press space for next javadoc, Q to quit> 158jshell.console.no.javadoc = <no javadoc found> 159jshell.console.do.nothing = Do nothing 160jshell.console.choice = Choice: \ 161 162jshell.console.create.variable = Create variable 163jshell.console.resolvable = \nThe identifier is resolvable in this context. 164jshell.console.no.candidate = \nNo candidate fully qualified names found to import. 165jshell.console.incomplete = \nResults may be incomplete; try again later for complete results. 166 167 168help.usage = \ 169Usage: jshell <options> <load files>\n\ 170where possible options include:\n\ 171\ --class-path <path> Specify where to find user class files\n\ 172\ --module-path <path> Specify where to find application modules\n\ 173\ --add-modules <module>(,<module>)*\n\ 174\ Specify modules to resolve, or all modules on the\n\ 175\ module path if <module> is ALL-MODULE-PATHs\n\ 176\ --startup <file> One run replacement for the start-up definitions\n\ 177\ --no-startup Do not run the start-up definitions\n\ 178\ --feedback <mode> Specify the initial feedback mode. The mode may be\n\ 179\ predefined (silent, concise, normal, or verbose) or\n\ 180\ previously user-defined\n\ 181\ -q Quiet feedback. Same as: --feedback concise\n\ 182\ -s Really quiet feedback. Same as: --feedback silent\n\ 183\ -v Verbose feedback. Same as: --feedback verbose\n\ 184\ -J<flag> Pass <flag> directly to the runtime system.\n\ 185\ Use one -J for each runtime flag or flag argument\n\ 186\ -R<flag> Pass <flag> to the remote runtime system.\n\ 187\ Use one -R for each remote flag or flag argument\n\ 188\ -C<flag> Pass <flag> to the compiler.\n\ 189\ Use one -C for each compiler flag or flag argument\n\ 190\ --help Print this synopsis of standard options\n\ 191\ --version Version information\n\ 192\ -X Print help on non-standard options\n 193help.usage.x = \ 194\ --add-exports <module>/<package> Export specified module-private package to snippets\n\ 195\ --execution <spec> Specify an alternate execution engine.\n\ 196\ Where <spec> is an ExecutionControl spec.\n\ 197\ See the documentation of the package\n\ 198\ jdk.jshell.spi for the syntax of the spec\n\ 199\ \n\ 200\These options are non-standard and subject to change without notice.\n 201 202help.list.summary = list the source you have typed 203help.list.args = [<name or id>|-all|-start] 204help.list =\ 205Show the source of snippets, prefaced with the snippet id.\n\ 206\n\ 207/list\n\t\ 208 List the currently active snippets of code that you typed or read with /open\n\n\ 209/list -start\n\t\ 210 List the automatically evaluated start-up snippets\n\n\ 211/list -all\n\t\ 212 List all snippets including failed, overwritten, dropped, and start-up\n\n\ 213/list <name>\n\t\ 214 List snippets with the specified name (preference for active snippets)\n\n\ 215/list <id>\n\t\ 216 List the snippet with the specified snippet id 217 218help.edit.summary = edit a source entry referenced by name or id 219help.edit.args = <name or id> 220help.edit =\ 221Edit a snippet or snippets of source in an external editor.\n\ 222The editor to use is set with /set editor.\n\ 223If no editor has been set, a simple editor will be launched.\n\ 224\n\ 225/edit <name>\n\t\ 226 Edit the snippet or snippets with the specified name (preference for active snippets)\n\n\ 227/edit <id>\n\t\ 228 Edit the snippet with the specified snippet id\n\n\ 229/edit\n\t\ 230 Edit the currently active snippets of code that you typed or read with /open 231 232help.drop.summary = delete a source entry referenced by name or id 233help.drop.args = <name or id> 234help.drop =\ 235Drop a snippet -- making it inactive.\n\ 236\n\ 237/drop <name>\n\t\ 238 Drop the snippet with the specified name\n\n\ 239/drop <id>\n\t\ 240 Drop the snippet with the specified snippet id 241 242help.save.summary = Save snippet source to a file. 243help.save.args = [-all|-history|-start] <file> 244help.save =\ 245Save the specified snippets and/or commands to the specified file.\n\ 246\n\ 247/save <file>\n\t\ 248 Save the source of current active snippets to the file.\n\n\ 249/save -all <file>\n\t\ 250 Save the source of all snippets to the file.\n\t\ 251 Includes source including overwritten, failed, and start-up code.\n\n\ 252/save -history <file>\n\t\ 253 Save the sequential history of all commands and snippets entered since jshell was launched.\n\n\ 254/save -start <file>\n\t\ 255 Save the default start-up definitions to the file. 256 257help.open.summary = open a file as source input 258help.open.args = <file> 259help.open =\ 260Open a file and read its contents as snippets and commands.\n\ 261\n\ 262/open <file>\n\t\ 263 Read the specified file as jshell input. 264 265help.vars.summary = list the declared variables and their values 266help.vars.args = [<name or id>|-all|-start] 267help.vars =\ 268List the type, name, and value of jshell variables.\n\ 269\n\ 270/vars\n\t\ 271 List the type, name, and value of the current active jshell variables\n\n\ 272/vars <name>\n\t\ 273 List jshell variables with the specified name (preference for active variables)\n\n\ 274/vars <id>\n\t\ 275 List the jshell variable with the specified snippet id\n\n\ 276/vars -start\n\t\ 277 List the automatically added start-up jshell variables\n\n\ 278/vars -all\n\t\ 279 List all jshell variables including failed, overwritten, dropped, and start-up 280 281help.methods.summary = list the declared methods and their signatures 282help.methods.args = [<name or id>|-all|-start] 283help.methods =\ 284List the name, parameter types, and return type of jshell methods.\n\ 285\n\ 286/methods\n\t\ 287 List the name, parameter types, and return type of the current active jshell methods\n\n\ 288/methods <name>\n\t\ 289 List jshell methods with the specified name (preference for active methods)\n\n\ 290/methods <id>\n\t\ 291 List the jshell method with the specified snippet id\n\n\ 292/methods -start\n\t\ 293 List the automatically added start-up jshell methods\n\n\ 294/methods -all\n\t\ 295 List all snippets including failed, overwritten, dropped, and start-up 296 297help.types.summary = list the declared types 298help.types.args =[<name or id>|-all|-start] 299help.types =\ 300List jshell classes, interfaces, and enums.\n\ 301\n\ 302/types\n\t\ 303 List the current active jshell classes, interfaces, and enums.\n\n\ 304/types <name>\n\t\ 305 List jshell types with the specified name (preference for active types)\n\n\ 306/types <id>\n\t\ 307 List the jshell type with the specified snippet id\n\n\ 308/types -start\n\t\ 309 List the automatically added start-up jshell types\n\n\ 310/types -all\n\t\ 311 List all jshell types including failed, overwritten, dropped, and start-up 312 313help.imports.summary = list the imported items 314help.imports.args = 315help.imports =\ 316List the current active jshell imports. 317 318help.exit.summary = exit jshell 319help.exit.args = 320help.exit =\ 321Leave the jshell tool. No work is saved.\n\ 322Save any work before using this command 323 324help.reset.summary = reset jshell 325help.reset.args = \ 326[-class-path <path>] [-module-path <path>] [-add-modules <modules>]... 327help.reset =\ 328Reset the jshell tool code and execution state:\n\t\ 329 * All entered code is lost.\n\t\ 330 * Start-up code is re-executed.\n\t\ 331 * The execution state is restarted.\n\t\ 332Tool settings are maintained, as set with: /set ...\n\ 333Save any work before using this command.\n\ 334The /reset command accepts context options, see:\n\n\t\ 335 /help context\n\ 336 337 338help.reload.summary = reset and replay relevant history -- current or previous (-restore) 339help.reload.args = \ 340[-restore] [-quiet] [-class-path <path>] [-module-path <path>]... 341help.reload =\ 342Reset the jshell tool code and execution state then replay each valid snippet\n\ 343and any /drop commands in the order they were entered.\n\ 344\n\ 345/reload\n\t\ 346 Reset and replay the valid history since jshell was entered, or\n\t\ 347 a /reset, or /reload command was executed -- whichever is most\n\t\ 348 recent.\n\n\ 349/reload -restore\n\t\ 350 Reset and replay the valid history between the previous and most\n\t\ 351 recent time that jshell was entered, or a /reset, or /reload\n\t\ 352 command was executed. This can thus be used to restore a previous\n\t\ 353 jshell tool session.\n\n\ 354/reload [-restore] -quiet\n\t\ 355 With the '-quiet' argument the replay is not shown. Errors will display.\n\ 356\n\ 357Each of the above accepts context options, see:\n\n\t\ 358 /help context\n\ 359\n\ 360For example:\n\n\t\ 361 /reload -add-modules com.greetings -restore 362 363help.env.summary = view or change the evaluation context 364help.env.args = \ 365[-class-path <path>] [-module-path <path>] [-add-modules <modules>] ... 366help.env =\ 367View or change the evaluation context. The evaluation context is the class path,\n\ 368module path, etc.\n\ 369/env\n\t\ 370 Show the evaluation context displayed as context options.\n\n\ 371/env [-class-path <path>] [-module-path <path>] [-add-modules <modules>] ...\n\t\ 372 With at least one option set, sets the evaluation context. If snippets\n\t\ 373 have been defined, the execution state is reset with the new\n\t\ 374 evaluation context and the snippets will be replayed -- the replay is not\n\t\ 375 shown, however, errors will display. This is equivalent to: /reload -quiet\n\t\ 376 For details of context options, see:\n\n\t\t\ 377 /help context\n\n\t\ 378 For example:\n\n\t\t\ 379 /env -add-modules com.greetings 380 381help.history.summary = history of what you have typed 382help.history.args = 383help.history =\ 384Display the history of snippet and command input since this jshell was launched. 385 386help.debug.summary = toggle debugging of the jshell 387help.debug.args = [0][r][g][f][c][d][e] 388help.debug =\ 389Display debugging information for the jshell implementation.\n\ 3900: Debugging off\n\ 391r: Tool level debugging on\n\ 392g: General debugging on\n\ 393f: File manager debugging on\n\ 394c: Completion analysis debugging on\n\ 395d: Dependency debugging on\n\ 396e: Event debugging on 397 398help.help.summary = get information about jshell 399help.help.args = [<command>|<subject>] 400help.help =\ 401Display information about jshell.\n\ 402/help\n\t\ 403 List the jshell commands and help subjects.\n\n\ 404/help <command>\n\t\ 405 Display information about the specified comand. The slash must be included.\n\t\ 406 Only the first few letters of the command are needed -- if more than one\n\t\ 407 each will be displayed. Example: /help /li\n\n\ 408/help <subject>\n\t\ 409 Display information about the specified help subject. Example: /help intro 410 411help.set.summary = set jshell configuration information 412help.set.args = editor|start|feedback|mode|prompt|truncation|format ... 413help.set =\ 414Set jshell configuration information, including:\n\ 415the external editor to use, the start-up definitions to use, a new feedback mode,\n\ 416the command prompt, the feedback mode to use, or the format of output.\n\ 417\n\ 418/set editor [-wait] <command> <optional-arg>...\n\t\ 419 Specify the command to launch for the /edit command.\n\t\ 420 The <command> is an operating system dependent string.\n\n\ 421/set start <file>\n\t\ 422 The contents of the specified <file> become the default start-up snippets and commands.\n\n\ 423/set feedback <mode>\n\t\ 424 Set the feedback mode describing displayed feedback for entered snippets and commands.\n\n\ 425/set mode <mode> [<old-mode>] -command|-quiet|-delete\n\t\ 426 Create or update a user-defined feedback mode, optionally copying from an existing mode.\n\n\ 427/set prompt <mode> "<prompt>" "<continuation-prompt>"\n\t\ 428 Set the displayed prompts for a given feedback mode.\n\n\ 429/set truncation <mode> <length> <selector>...\n\t\ 430 Set the maximum length of a displayed value.\n\n\ 431/set format <mode> <field> "<format>" <selector>...\n\t\ 432 Configure a feedback mode by setting the format of a field when the selector matches.\n\n\ 433/set\n\t\ 434 Show editor, start, and feedback settings as /set commands.\n\t\ 435 To show the settings of any of the above, omit the set value.\n\n\ 436To get more information about one of these forms, use /help with the form specified.\n\ 437For example: /help /set format 438 439help.quest.summary = get information about jshell 440help.quest.args = [<command>|<subject>] 441help.quest =\ 442Display information about jshell (abbreviation for /help).\n\ 443/?\n\t\ 444 Display list of commands and help subjects.\n\ 445/? <command>\n\t\ 446 Display information about the specified comand. The slash must be included.\n\t\ 447 Only the first few letters of the command are needed -- if more than one\n\t\ 448 match, each will be displayed. Example: /? /li\n\ 449/? <subject>\n\t\ 450 Display information about the specified help subject. Example: /? intro 451 452help.bang.summary = re-run last snippet 453help.bang.args = 454help.bang =\ 455Reevaluate the most recently entered snippet. 456 457help.id.summary = re-run snippet by id 458help.id.args = 459help.id =\ 460Reevaluate the snippet specified by the id. 461 462help.previous.summary = re-run n-th previous snippet 463help.previous.args = 464help.previous =\ 465Reevaluate the n-th most recently entered snippet. 466 467help.intro.summary = an introduction to the jshell tool 468help.intro =\ 469The jshell tool allows you to execute Java code, getting immediate results.\n\ 470You can enter a Java definition (variable, method, class, etc), like: int x = 8\n\ 471or a Java expression, like: x + x\n\ 472or a Java statement or import.\n\ 473These little chunks of Java code are called 'snippets'.\n\ 474\n\ 475There are also jshell commands that allow you to understand and\n\ 476control what you are doing, like: /list\n\ 477\n\ 478For a list of commands: /help 479 480help.shortcuts.summary = a description of shortcuts 481help.shortcuts =\ 482Supported shortcuts include:\n\ 483\n\ 484<tab>\n\t\t\ 485 After entering the first few letters of a Java identifier,\n\t\t\ 486 a jshell command, or, in some cases, a jshell command argument,\n\t\t\ 487 press the <tab> key to complete the input.\n\t\t\ 488 If there is more than one completion, show possible completions.\n\n\ 489Shift-<tab>\n\t\t\ 490 After the name and open parenthesis of a method or constructor invocation,\n\t\t\ 491 hold the <shift> key and press the <tab> to see a synopsis of all\n\t\t\ 492 matching methods/constructors.\n\n\ 493<fix-shortcut> v\n\t\t\ 494 After a complete expression, press "<fix-shortcut> v" to introduce a new variable\n\t\t\ 495 whose type is based on the type of the expression.\n\t\t\ 496 The "<fix-shortcut>" is either Alt-F1 or Alt-Enter, depending on the platform.\n\n\ 497<fix-shortcut> i\n\t\t\ 498 After an unresolvable identifier, press "<fix-shortcut> i" and jshell will propose\n\t\t\ 499 possible fully qualified names based on the content of the specified classpath.\n\t\t\ 500 The "<fix-shortcut>" is either Alt-F1 or Alt-Enter, depending on the platform. 501 502help.context.summary = the evaluation context options for /env /reload and /reset 503help.context =\ 504These options configure the evaluation context, they can be specified when\n\ 505jshell is started: on the command-line, or restarted with the commands /env,\n\ 506/reload, or /reset.\n\ 507\n\ 508They are:\n\t\ 509 --class-path <class search path of directories and zip/jar files>\n\t\t\ 510 A list of directories, JAR archives,\n\t\t\ 511 and ZIP archives to search for class files.\n\t\t\ 512 The list is separated with the path separator\n\t\t\ 513 (a : on unix/linux/mac, and ; on windows).\n\t\ 514 --module-path <module path>...\n\t\t\ 515 A list of directories, each directory\n\t\t\ 516 is a directory of modules.\n\t\t\ 517 The list is separated with the path separator\n\t\t\ 518 (a : on unix/linux/mac, and ; on windows).\n\t\ 519 --add-modules <modulename>[,<modulename>...]\n\t\t\ 520 root modules to resolve in addition to the initial module.\n\t\t\ 521 <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\t\t\ 522 ALL-MODULE-PATH.\n\t\ 523 --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\t\t\ 524 updates <module> to export <package> to <target-module>,\n\t\t\ 525 regardless of module declaration.\n\t\t\ 526 <target-module> can be ALL-UNNAMED to export to all\n\t\t\ 527 unnamed modules. In jshell, if the <target-module> is not\n\t\t\ 528 specified (no =) then ALL-UNNAMED is used.\n\ 529\n\ 530On the command-line these options must have two dashes, e.g.: --module-path\n\ 531On jshell commands they can have one or two dashes, e.g.: -module-path\n\ 532 533help.set._retain = \ 534The '-retain' option saves a setting so that it is used in future sessions.\n\ 535The -retain option can be used on the following forms of /set:\n\n\t\ 536/set editor -retain\n\t\ 537/set start -retain\n\t\ 538/set feedback -retain\n\t\ 539/set mode -retain\n\n\ 540See these commands for more detail -- for example /help /set editor 541 542help.set.format = \ 543Set the format for reporting a snippet event:\n\ 544\n\t\ 545/set format <mode> <field> "<format>" <selector>...\n\ 546\n\ 547Show the format settings:\n\ 548\n\t\ 549/set format [<mode> [<field>]]\n\ 550\n\ 551Where <mode> is the name of a previously defined feedback mode -- see '/help /set mode'.\n\ 552Where <field> is the name of context-specific format to define.\n\ 553Where <format> is a quoted string which will be the value of the field if one of\n\ 554the selectors matches (or there are no selectors). When the format is used,\n\ 555field names enclosed in braces are replaced with the value of the field at that\n\ 556time. These fields may have been previously defined with this command or may be\n\ 557one of these predefined fields specific to the context:\n\t\ 558{name} == The name, e.g.: the variable name, ...\n\t\ 559{type} == The type name. The type of a variable or expression, the\n\t\t\t\ 560 parameter types of a method\n\t\ 561{value} == The result value of an expression or variable initialization\n\t\ 562{unresolved} == The list of unresolved references\n\t\ 563{errors} == The list of recoverable errors (during the processing of the\n\t\t\t\ 564 "display" field only)\n\t\ 565{err} == An unformatted error line (during the processing of the\n\t\t\t\ 566 "errorline" field only)\n\ 567The following fields are accessed by the tool to determine the displayed feedback:\n\t\ 568{display} == The displayed message for a snippet event\n\t\ 569{errorline} == The format of one error line within the "errors" field\n\t\ 570{pre} == The feedback prefix (begins command feedback)\n\t\ 571{post} == The feedback postfix (ends command feedback)\n\t\ 572{errorpre} == The error prefix (begins error feedback)\n\t\ 573{errorpost} == The error postfix (ends error feedback)\n\ 574These fields have default settings (which may be overwritten).\n\ 575Where <selector> is the context in which the format is applied.\n\ 576The structure of selector is a hyphen separated list of selector kind lists.\n\ 577A selector kind list is a comma separated list of values of one selector kind.\n\ 578A selector matches if each selector kind list matches; A selector kind list\n\ 579matches if one of the values matches.\n\n\ 580The case selector kind describes the kind of snippet. The values are:\n\t\ 581 import -- import declaration\n\t\ 582 class -- class declaration\n\t\ 583 interface -- interface declaration\n\t\ 584 enum -- enum declaration\n\t\ 585 annotation -- annotation interface declaration\n\t\ 586 method -- method declaration -- note: {type}==parameter-types\n\t\ 587 vardecl -- variable declaration without init\n\t\ 588 varinit -- variable declaration with init\n\t\ 589 expression -- expression -- note: {name}==scratch-variable-name\n\t\ 590 varvalue -- variable value expression\n\t\ 591 assignment -- assign variable\n\t\ 592 statement -- statement\n\ 593The action selector kind describes what happened to the snippet. The values are:\n\t\ 594 added -- snippet has been added\n\t\ 595 modified -- an existing snippet has been modified\n\t\ 596 replaced -- an existing snippet has been replaced with a new snippet\n\t\ 597 overwrote -- an existing snippet has been overwritten\n\t\ 598 dropped -- snippet has been dropped\n\t\ 599 used -- snippet was used when it cannot be\n\ 600The when-did-it-occur selector kind describes if this is a direct or indirect action. The values are:\n\t\ 601 primary -- the entered snippet\n\t\ 602 update -- an update to a dependent snippet\n\ 603The resolution-state selector kind describes the state of resolution/definition of the snippet. The values are:\n\t\ 604 ok -- resolved correctly\n\t\ 605 defined -- defined despite recoverably unresolved references\n\t\ 606 notdefined -- not defined because of recoverably unresolved references\n\ 607The unresolved-count selector kind describes the number of unresolved references. The values are:\n\t\ 608 unresolved0 -- no names are unresolved\n\t\ 609 unresolved1 -- one name is unresolved\n\t\ 610 unresolved2 -- two or more names are unresolved\n\ 611The errors-count selector kind describes the number of errors. The values are:\n\t\ 612 error0 -- no errors\n\t\ 613 error1 -- one error\n\t\ 614 error2 -- two or more errors\n\n\ 615Examples:\n\t\ 616/set format myformat action 'Created' added-primary\n\t\ 617/set format myformat action 'Update replaced' replaced-update\n\t\ 618/set format myformat display '{pre}{action} class {name}{post}' class-ok\n\t\ 619/set format myformat display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update\n\n\ 620Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\ 621\n\ 622The form without <format> shows the current format settings.\n\ 623When the <mode> is specified only the format settings for that mode are shown.\n\ 624When both the <mode> and <field> are specified only the format settings for that\n\ 625mode and field are shown. Example:\n\t\ 626/set format myformat\n\ 627shows the format settings for the mode myformat\n 628 629help.set.truncation = \ 630Set the max length of a displayed value:\n\ 631\n\t\ 632/set truncation <mode> <length> <selector>...\n\ 633\n\ 634Show the current truncation settings:\n\ 635\n\t\ 636/set truncation [<mode>]\n\ 637\n\ 638Where <mode> is the name of a previously defined feedback mode -- see '/help /set mode'.\n\ 639Where <length> is an unsigned integer representing a maximum length.\n\ 640Where <selector> is only needed if you wish to fine-tune value truncation length\n\ 641by context, <selector> is the context in which the truncation is applied.\n\ 642The structure of selector is a hyphen separated list of selector kind lists.\n\ 643A selector kind list is a comma separated list of values of one selector kind.\n\ 644A selector matches if each selector kind list matches; A selector kind list\n\ 645matches if one of the values matches.\n\n\ 646Below are the relevant selector kinds for truncation.\n\n\ 647The case selector kind describes the kind of snippet. The values are:\n\t\ 648 vardecl -- variable declaration without init\n\t\ 649 varinit -- variable declaration with init\n\t\ 650 expression -- expression -- note: {name}==scratch-variable-name\n\t\ 651 varvalue -- variable value expression\n\t\ 652 assignment -- assign variable\n\t\ 653The action selector kind describes what happened to the snippet. The values are:\n\t\ 654 added -- snippet has been added\n\t\ 655 modified -- an existing snippet has been modified\n\t\ 656 replaced -- an existing snippet has been replaced with a new snippet\n\ 657Examples:\n\t\ 658/set trunc mymode 80\n\t\ 659/set truncation mymode 45 expression\n\t\ 660/set truncation mymode 0 vardecl-modified,replaced\n\n\ 661Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\ 662\n\ 663The form without <length> shows the truncation settings.\n\ 664When the <mode> is specified only the truncation settings for that mode are shown.\n\ 665Example:\n\t\ 666/set truncation myformat\n\ 667shows the truncation settings for the mode myformat\n 668 669help.set.feedback = \ 670Set the feedback mode describing displayed feedback for entered snippets and commands:\n\ 671\n\t\ 672/set feedback [-retain] <mode>\n\ 673\n\ 674Retain the current feedback mode for future sessions:\n\ 675\n\t\ 676/set feedback -retain\n\ 677\n\ 678Show the feedback mode and list available modes:\n\ 679\n\t\ 680/set feedback\n\ 681\n\ 682Where <mode> is the name of a previously defined feedback mode.\n\ 683You may use just enough letters to make it unique.\n\ 684User-defined modes can be added, see '/help /set mode'\n\ 685\n\ 686When the -retain option is used, the setting will be used in this and future\n\ 687runs of the jshell tool.\n\ 688\n\ 689The form without <mode> or -retain displays the current feedback mode and available modes.\n 690 691help.set.mode = \ 692Create a user-defined feedback mode, optionally copying from an existing mode:\n\ 693\n\t\ 694/set mode <mode> [<old-mode>] [-command|-quiet|-delete]\n\ 695Retain a user-defined feedback mode for future sessions:\n\ 696\n\t\ 697/set mode -retain <mode>\n\ 698\n\ 699Delete a user-defined feedback mode:\n\ 700\n\t\ 701/set mode -delete [-retain] <mode>\n\ 702\n\ 703Show feedback mode settings:\n\ 704\n\t\ 705/set mode [<mode>]\n\ 706\n\ 707Where <new-mode> is the name of a mode you wish to create.\n\ 708Where <old-mode> is the name of a previously defined feedback mode.\n\ 709If <old-mode> is present, its settings are copied to the new mode.\n\ 710'-command' vs '-quiet' determines if informative/verifying command feedback is displayed.\n\ 711\n\ 712Once the new mode is created, use '/set format', '/set prompt' and '/set truncation'\n\ 713to configure it. Use '/set feedback' to use the new mode.\n\ 714\n\ 715When the -retain option is used, the mode (including its component prompt, format,\n\ 716and truncation settings) will be used in this and future runs of the jshell tool.\n\ 717When both -retain and -delete are used, the mode is deleted from the current\n\ 718and future sessions.\n\ 719\n\ 720The form without options shows the mode settings.\n\ 721When the <mode> is specified only the mode settings for that mode are shown.\n\ 722Note: the settings for the mode include the settings for prompt, format, and\n\ 723truncation -- so these are displayed as well.\n\ 724Example:\n\t\ 725/set mode myformat\n\ 726shows the mode, prompt, format, and truncation settings for the mode myformat\n 727 728help.set.prompt = \ 729Set the prompts. Both the normal prompt and the continuation-prompt must be set:\n\ 730\n\t\ 731/set prompt <mode> \"<prompt>\" \"<continuation-prompt>\"\n\ 732\n\ 733Show the normal prompt and the continuation-prompts:\n\ 734\n\t\ 735/set prompt [<mode>]\n\ 736\n\ 737Where <mode> is the name of a previously defined feedback mode.\n\ 738Where <prompt> and <continuation-prompt> are quoted strings printed as input prompts;\n\ 739Both may optionally contain '%%s' which will be substituted with the next snippet id --\n\ 740note that what is entered may not be assigned that id, for example it may be an error or command.\n\ 741The continuation-prompt is used on the second and subsequent lines of a multi-line snippet.\n\ 742\n\ 743The form without <prompt> shows the currently set prompts.\n\ 744When the <mode> is specified only the prompts for that mode are shown.\n\ 745Example:\n\t\ 746/set prompt myformat\n\ 747shows the prompts set for the mode myformat\n 748 749help.set.editor =\ 750Specify the command to launch for the /edit command:\n\ 751\n\t\ 752/set editor [-retain] [-wait] <command>\n\ 753\n\t\ 754/set editor [-retain] -default\n\ 755\n\t\ 756/set editor [-retain] -delete\n\ 757\n\ 758Retain the current editor setting for future sessions:\n\ 759\n\t\ 760/set editor -retain\n\ 761\n\ 762Show the command to launch for the /edit command:\n\ 763\n\t\ 764/set editor\n\ 765\n\ 766The <command> is an operating system dependent string.\n\ 767The <command> may include space-separated arguments (such as flags)\n\n\ 768If the -default option is specified, the built-in default editor will be used.\n\n\ 769If the -delete option is specified, previous settings are ignored -- the editor\n\ 770settings are initialized as when starting the jshell tool. Specifically, if there\n\ 771is a retained setting it is used (unless both -retain and -delete are specified --\n\ 772which deletes the retained setting), if one of these environment variables is set\n\ 773it will be used: JSHELLEDITOR, VISUAL, or EDITOR (in that order). Otherwise the\n\ 774built-in default editor will be used.\n\n\ 775If <command> is specified, it will be used as the external editor. The <command>\n\ 776consists of the program and zero or more program arguments. When <command>\n\ 777is used, the temporary file to edit will be appended as the last argument.\n\ 778Normally, edit mode will last until the external editor exits. Some external editors\n\ 779will exit immediately (for example, if the edit window exists) either external editor\n\ 780flags should be used to prevent immediate exit, or the -wait option should be used to\n\ 781prompt the user to indicate when edit mode should end.\n\n\ 782Note: while in edit mode no command inputs are seen. After leaving edit mode changes\n\ 783to the edited snippets are not seen.\n\ 784\n\ 785When the -retain option is used, the setting will be used in this and future\n\ 786runs of the jshell tool.\n\ 787\n\ 788The form without <command> or options shows the editor setting.\n 789 790help.set.start =\ 791Set the start-up configuration -- a sequence of snippets and commands read at start-up:\n\ 792\n\t\ 793/set start [-retain] <file>\n\ 794\n\t\ 795/set start [-retain] -default\n\ 796\n\t\ 797/set start [-retain] -none\n\ 798\n\ 799Retain the start-up configuration for future sessions:\n\ 800\n\t\ 801/set start -retain\n\ 802\n\ 803Show the start-up setting:\n\ 804\n\t\ 805/set start\n\ 806\n\ 807The contents of the specified <file> become the start-up snippets and commands used\n\ 808when the /reset or /reload commands are used in this session.\n\ 809If instead the -default option is specified, the predefined start-up snippets\n\ 810will be used.\n\ 811If the -none option is used, the start-up will be empty -- no start-up snippets\n\ 812or commands will be used.\n\ 813This command is good for testing the start-up settings. To retain them for future\n\ 814runs of the jshell tool use the command:\n\t\ 815/set start -retain\n\ 816\n\ 817When the -retain option is used, the setting will be used in this and future\n\ 818runs of the jshell tool.\n\ 819\n\ 820The form without <file> or options shows the start-up setting.\n\ 821Note: if the start-up was last set from a file, this is shown with the\n\ 822contents of the file followed by a 'set start' command. 823 824startup.feedback = \ 825/set mode verbose -command \n\ 826\n\ 827/set prompt verbose '\\njshell> ' ' ...> ' \n\ 828\n\ 829/set format verbose pre '| ' \n\ 830/set format verbose post '%n' \n\ 831/set format verbose errorpre '| ' \n\ 832/set format verbose errorpost '%n' \n\ 833\n\ 834/set format verbose errorline '{post}{pre} {err}' \n\ 835\n\ 836/set format verbose action 'created' added-primary \n\ 837/set format verbose action 'modified' modified-primary \n\ 838/set format verbose action 'replaced' replaced-primary \n\ 839/set format verbose action 'overwrote' overwrote-primary \n\ 840/set format verbose action 'dropped' dropped-primary \n\ 841/set format verbose action ' update created' added-update \n\ 842/set format verbose action ' update modified' modified-update \n\ 843/set format verbose action ' update replaced' replaced-update \n\ 844/set format verbose action ' update overwrote' overwrote-update \n\ 845/set format verbose action ' update dropped' dropped-update \n\ 846\n\ 847/set format verbose until ', however, it cannot be instanciated or its methods invoked until' defined-class-primary \n\ 848/set format verbose until ', however, its methods cannot be invoked until' defined-interface-primary \n\ 849/set format verbose until ', however, it cannot be used until' defined-enum,annotation-primary \n\ 850/set format verbose until ', however, it cannot be invoked until' defined-method-primary \n\ 851/set format verbose until ', however, it cannot be referenced until' notdefined-primary \n\ 852/set format verbose until ' which cannot be instanciated or its methods invoked until' defined-class-update \n\ 853/set format verbose until ' whose methods cannot be invoked until' defined-interface-update \n\ 854/set format verbose until ' which cannot be invoked until' defined-method-update \n\ 855/set format verbose until ' which cannot be referenced until' notdefined-update \n\ 856\n\ 857/set format verbose unrerr '{unresolved} is declared' unresolved1-error0 \n\ 858/set format verbose unrerr '{unresolved} are declared' unresolved2-error0 \n\ 859/set format verbose unrerr ' this error is corrected: {errors}' unresolved0-error1 \n\ 860/set format verbose unrerr '{unresolved} is declared and this error is corrected: {errors}' unresolved1-error1 \n\ 861/set format verbose unrerr '{unresolved} are declared and this error is corrected: {errors}' unresolved2-error1 \n\ 862/set format verbose unrerr ' these errors are corrected: {errors}' unresolved0-error2 \n\ 863/set format verbose unrerr '{unresolved} is declared and these errors are corrected: {errors}' unresolved1-error2 \n\ 864/set format verbose unrerr '{unresolved} are declared and these errors are corrected: {errors}' unresolved2-error2 \n\ 865\n\ 866/set format verbose resolve '{until}{unrerr}' defined,notdefined-added,modified,replaced,used \n\ 867\n\ 868/set format verbose typeKind 'class' class \n\ 869/set format verbose typeKind 'interface' interface \n\ 870/set format verbose typeKind 'enum' enum \n\ 871/set format verbose typeKind 'annotation interface' annotation \n\ 872\n\ 873/set format verbose result '{name} ==> {value}{post}' added,modified,replaced-ok-primary \n\ 874\n\ 875/set format verbose display '{result}{pre}created scratch variable {name} : {type}{post}' expression-added,modified,replaced-primary \n\ 876/set format verbose display '{result}{pre}value of {name} : {type}{post}' varvalue-added,modified,replaced-primary \n\ 877/set format verbose display '{result}{pre}assigned to {name} : {type}{post}' assignment-primary \n\ 878/set format verbose display '{result}{pre}{action} variable {name} : {type}{resolve}{post}' varinit,vardecl \n\ 879/set format verbose display '{pre}{action} variable {name}{resolve}{post}' vardecl,varinit-notdefined \n\ 880/set format verbose display '{pre}{action} variable {name}{post}' dropped-vardecl,varinit,expression \n\ 881/set format verbose display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update \n\ 882\n\ 883/set format verbose display '{pre}{action} {typeKind} {name}{resolve}{post}' class,interface,enum,annotation \n\ 884/set format verbose display '{pre}{action} method {name}({type}){resolve}{post}' method \n\ 885\n\ 886/set format verbose display '{pre}attempted to use {typeKind} {name}{resolve}{post}' used-class,interface,enum,annotation \n\ 887/set format verbose display '{pre}attempted to call method {name}({type}){resolve}{post}' used-method \n\ 888\n\ 889/set truncation verbose 80\n\ 890/set truncation verbose 1000 varvalue,expression\n\ 891\n\ 892/set mode normal -command verbose \n\ 893/set format normal display '' added,modified,replaced,overwrote,dropped-update \n\ 894/set format normal display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update \n\ 895/set format normal display '{result}' added,modified,replaced-expression,varvalue,assignment,varinit,vardecl-ok-primary \n\ 896/set mode concise -quiet normal \n\ 897\n\ 898/set prompt concise 'jshell> ' ' ...> ' \n\ 899\n\ 900/set format concise display '' class,interface,enum,annotation,method,assignment,varinit,vardecl-ok \n\ 901\n\ 902/set feedback normal \n\ 903\n\ 904/set mode silent -quiet \n\ 905/set prompt silent '-> ' '>> ' \n\ 906/set truncation silent 80\n\ 907/set truncation silent 1000 varvalue,expression\n\ 908/set format silent pre '| ' \n\ 909/set format silent post '%n' \n\ 910/set format silent errorpre '| ' \n\ 911/set format silent errorpost '%n' \n\ 912/set format silent display '' \n 913