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