216 \ Use one -C for each compiler flag or flag argument\n\ |
216 \ Use one -C for each compiler flag or flag argument\n\ |
217 \ --version Print version information and exit\n\ |
217 \ --version Print version information and exit\n\ |
218 \ --show-version Print version information and continue\n\ |
218 \ --show-version Print version information and continue\n\ |
219 \ --help Print this synopsis of standard options and exit\n\ |
219 \ --help Print this synopsis of standard options and exit\n\ |
220 \ --help-extra, -X Print help on non-standard options and exit\n\ |
220 \ --help-extra, -X Print help on non-standard options and exit\n\ |
|
221 \n\ |
221 A file argument may be a file name, or one of the predefined file names: DEFAULT,\n\ |
222 A file argument may be a file name, or one of the predefined file names: DEFAULT,\n\ |
222 PRINTING, or JAVASE.\n\ |
223 PRINTING, or JAVASE.\n\ |
223 A load file may also be "-" to indicate standard input, without interactive I/O.\n |
224 A load-file may also be "-" to indicate standard input, without interactive I/O.\n\ |
|
225 \n\ |
|
226 For more information on the evaluation context options (--class-path,\n\ |
|
227 --module-path, and --add-modules) see:\n\t\ |
|
228 /help context\n\ |
|
229 \n\ |
|
230 A path lists the directories and archives to search. For Windows, use a\n\ |
|
231 semicolon (;) to separate items in the path. On other platforms, use a\n\ |
|
232 colon (:) to separate items.\n\ |
224 |
233 |
225 help.usage.x = \ |
234 help.usage.x = \ |
226 \ --add-exports <module>/<package> Export specified module-private package to snippets\n\ |
235 \ --add-exports <module>/<package> Specify a package to be considered as\n\ |
|
236 \ exported from its defining module \n\ |
227 \ --execution <spec> Specify an alternate execution engine.\n\ |
237 \ --execution <spec> Specify an alternate execution engine.\n\ |
228 \ Where <spec> is an ExecutionControl spec.\n\ |
238 \ Where <spec> is an ExecutionControl spec.\n\ |
229 \ See the documentation of the package\n\ |
239 \ See the documentation of the package\n\ |
230 \ jdk.jshell.spi for the syntax of the spec\n\ |
240 \ jdk.jshell.spi for the syntax of the spec\n\ |
231 \ \n\ |
241 \ \n\ |
232 \These options are non-standard and subject to change without notice.\n |
242 \These options are non-standard and subject to change without notice.\n |
233 |
243 |
234 help.list.summary = list the source you have typed |
244 help.list.summary = list the source you have typed |
235 help.list.args = [<name or id>|-all|-start] |
245 help.list.args = [<name or id>|-all|-start] |
236 help.list =\ |
246 help.list =\ |
237 Show the source of snippets, prefaced with the snippet id.\n\ |
247 Show the snippets, prefaced with their snippet IDs.\n\ |
238 \n\ |
248 \n\ |
239 /list\n\t\ |
249 /list\n\t\ |
240 List the currently active snippets of code that you typed or read with /open\n\n\ |
250 List the currently active snippets of code that you typed or read with /open\n\n\ |
241 /list -start\n\t\ |
251 /list -start\n\t\ |
242 List the automatically evaluated start-up snippets\n\n\ |
252 List the evaluated startup snippets\n\n\ |
243 /list -all\n\t\ |
253 /list -all\n\t\ |
244 List all snippets including failed, overwritten, dropped, and start-up\n\n\ |
254 List all snippets including failed, overwritten, dropped, and startup\n\n\ |
245 /list <name>\n\t\ |
255 /list <name>\n\t\ |
246 List snippets with the specified name (preference for active snippets)\n\n\ |
256 List snippets with the specified name (preference for active snippets)\n\n\ |
247 /list <id>\n\t\ |
257 /list <id>\n\t\ |
248 List the snippet with the specified snippet id\n\n\ |
258 List the snippet with the specified snippet ID.\n\t\ |
249 /list <id> <id>...\n\t\ |
259 One or more IDs or ID ranges may used, see '/help id' |
250 List the snippets with the specified snippet ids\n\n\ |
260 |
251 /list <id>-<id>\n\t\ |
261 help.edit.summary = edit a source entry |
252 List the snippets within the range of snippet ids |
|
253 |
|
254 help.edit.summary = edit a source entry referenced by name or id |
|
255 help.edit.args = <name or id> |
262 help.edit.args = <name or id> |
256 help.edit =\ |
263 help.edit =\ |
257 Edit a snippet or snippets of source in an external editor.\n\ |
264 Edit a snippet or snippets of source in an external editor.\n\ |
258 The editor to use is set with /set editor.\n\ |
265 The editor to use is set with /set editor. If no editor is set, then the\n\ |
259 If no editor has been set, a simple editor will be launched.\n\ |
266 following environment variables are checked in order: JSHELLEDITOR, VISUAL,\n\ |
|
267 and EDITOR. If no editor has been set and none of the editor environment\n\ |
|
268 variables is set, a simple editor will be launched.\n\ |
260 \n\ |
269 \n\ |
261 /edit <name>\n\t\ |
270 /edit <name>\n\t\ |
262 Edit the snippet or snippets with the specified name (preference for active snippets)\n\n\ |
271 Edit the snippet or snippets with the specified name (preference for active snippets)\n\n\ |
263 /edit <id>\n\t\ |
272 /edit <id>\n\t\ |
264 Edit the snippet with the specified snippet id\n\n\ |
273 Edit the snippet with the specified snippet ID.\n\t\ |
265 /edit <id> <id>...\n\t\ |
274 One or more IDs or ID ranges may used, see '/help id'\n\n\ |
266 Edit the snippets with the specified snippet ids\n\n\ |
|
267 /edit <id>-<id>\n\t\ |
|
268 Edit the snippets within the range of snippet ids\n\n\ |
|
269 /edit -start\n\t\ |
275 /edit -start\n\t\ |
270 Edit the automatically evaluated start-up snippets. Any changes are in this\n\t\ |
276 Edit the startup snippets. Any changes are in this session, and do not\n\t\ |
271 session, and do not affect the start-up setting\n\n\ |
277 affect the startup setting\n\n\ |
272 /edit -all\n\t\ |
278 /edit -all\n\t\ |
273 Edit all snippets including failed, overwritten, dropped, and start-up\n\n\ |
279 Edit all snippets including failed, overwritten, dropped, and startup\n\n\ |
274 /edit\n\t\ |
280 /edit\n\t\ |
275 Edit the currently active snippets of code that you typed or read with /open |
281 Edit the currently active snippets of code that you typed or read with /open |
276 |
282 |
277 help.drop.summary = delete a source entry referenced by name or id |
283 help.drop.summary = delete a source entry |
278 help.drop.args = <name or id> |
284 help.drop.args = <name or id> |
279 help.drop =\ |
285 help.drop =\ |
280 Drop a snippet -- making it inactive.\n\ |
286 Drop a snippet -- making it inactive.\n\ |
281 \n\ |
287 \n\ |
282 /drop <name>\n\t\ |
288 /drop <name>\n\t\ |
283 Drop the snippet with the specified name\n\n\ |
289 Drop the snippet with the specified name\n\n\ |
284 /drop <id>\n\t\ |
290 /drop <id>\n\t\ |
285 Drop the snippet with the specified snippet id\n\n\ |
291 Drop the snippet with the specified snippet ID.\n\t\ |
286 /drop <id> <id>...\n\t\ |
292 One or more IDs or ID ranges may used, see '/help id' |
287 Drop the snippets with the specified snippet ids\n\n\ |
293 |
288 /drop <id>-<id>\n\t\ |
294 help.save.summary = Save snippet source to a file |
289 Drop the snippets within the range of snippet ids |
|
290 |
|
291 help.save.summary = Save snippet source to a file. |
|
292 help.save.args = [-all|-history|-start] <file> |
295 help.save.args = [-all|-history|-start] <file> |
293 help.save =\ |
296 help.save =\ |
294 Save the specified snippets and/or commands to the specified file.\n\ |
297 Save the specified snippets and/or commands to the specified file.\n\ |
295 \n\ |
298 \n\ |
296 /save <file>\n\t\ |
299 /save <file>\n\t\ |
297 Save the source of current active snippets to the file.\n\n\ |
300 Save the source of current active snippets to the file.\n\n\ |
298 /save -all <file>\n\t\ |
301 /save -all <file>\n\t\ |
299 Save the source of all snippets to the file.\n\t\ |
302 Save the source of all snippets to the file.\n\t\ |
300 Includes source including overwritten, failed, and start-up code.\n\n\ |
303 Includes source of overwritten, failed, and startup code\n\n\ |
301 /save -history <file>\n\t\ |
304 /save -history <file>\n\t\ |
302 Save the sequential history of all commands and snippets entered since jshell was launched.\n\n\ |
305 Save the sequential history of all commands and snippets entered since the\n\t\ |
|
306 jshell tool was launched.\n\n\ |
303 /save -start <file>\n\t\ |
307 /save -start <file>\n\t\ |
304 Save the current start-up definitions to the file.\n\n\ |
308 Save the current startup definitions to the file\n\n\ |
305 /save <id> <file>\n\t\ |
309 /save <id> <file>\n\t\ |
306 Save the snippet with the specified snippet id\n\n\ |
310 Save the snippet with the specified snippet ID.\n\t\ |
307 /save <id> <id>... <file>\n\t\ |
311 One or more IDs or ID ranges may used, see '/help id' |
308 Save the snippets with the specified snippet ids\n\n\ |
|
309 /save <id>-<id> <file>\n\t\ |
|
310 Save the snippets within the range of snippet ids |
|
311 |
312 |
312 help.open.summary = open a file as source input |
313 help.open.summary = open a file as source input |
313 help.open.args = <file> |
314 help.open.args = <file> |
314 help.open =\ |
315 help.open =\ |
315 Open a file and read its contents as snippets and commands.\n\ |
316 Open a file and read its contents as snippets and commands.\n\ |
316 \n\ |
317 \n\ |
317 /open <file>\n\t\ |
318 /open <file>\n\t\ |
318 Read the specified file as jshell input. |
319 Read the specified file as the jshell tool input.\n\ |
|
320 \n\ |
|
321 The <file> may be an operating system file name, or one of the predefined\n\ |
|
322 file names: DEFAULT, PRINTING, or JAVASE.\n\ |
|
323 These are respectively: the default import snippets (as used by -default),\n\ |
|
324 definitions of print(), println(), and printf() method snippets, or\n\ |
|
325 imports of all Java SE packages.\n |
319 |
326 |
320 help.vars.summary = list the declared variables and their values |
327 help.vars.summary = list the declared variables and their values |
321 help.vars.args = [<name or id>|-all|-start] |
328 help.vars.args = [<name or id>|-all|-start] |
322 help.vars =\ |
329 help.vars =\ |
323 List the type, name, and value of jshell variables.\n\ |
330 List the type, name, and value of variables that were entered.\n\ |
324 \n\ |
331 \n\ |
325 /vars\n\t\ |
332 /vars\n\t\ |
326 List the type, name, and value of the current active jshell variables\n\n\ |
333 List the type, name, and value of the current active variables\n\n\ |
327 /vars <name>\n\t\ |
334 /vars <name>\n\t\ |
328 List jshell variables with the specified name (preference for active variables)\n\n\ |
335 List variables with the specified name (preference for active variables)\n\n\ |
329 /vars <id>\n\t\ |
336 /vars <id>\n\t\ |
330 List the jshell variable with the specified snippet id\n\n\ |
337 List the variable with the specified snippet ID.\n\t\ |
331 /vars <id> <id>... <file>\n\t\ |
338 One or more IDs or ID ranges may used, see '/help id'\n\n\ |
332 List the jshell variables with the specified snippet ids\n\n\ |
|
333 /vars <id>-<id> <file>\n\t\ |
|
334 List the jshell variables within the range of snippet ids\n\n\ |
|
335 /vars -start\n\t\ |
339 /vars -start\n\t\ |
336 List the automatically added start-up jshell variables\n\n\ |
340 List the variables in the evaluated startup snippets\n\n\ |
337 /vars -all\n\t\ |
341 /vars -all\n\t\ |
338 List all jshell variables including failed, overwritten, dropped, and start-up |
342 List all variables including failed, overwritten, dropped, and startup |
339 |
343 |
340 help.methods.summary = list the declared methods and their signatures |
344 help.methods.summary = list the declared methods and their signatures |
341 help.methods.args = [<name or id>|-all|-start] |
345 help.methods.args = [<name or id>|-all|-start] |
342 help.methods =\ |
346 help.methods =\ |
343 List the name, parameter types, and return type of jshell methods.\n\ |
347 List the name, parameter types, and return type of methods that were entered.\n\ |
344 \n\ |
348 \n\ |
345 /methods\n\t\ |
349 /methods\n\t\ |
346 List the name, parameter types, and return type of the current active jshell methods\n\n\ |
350 List the name, parameter types, and return type of the current active methods\n\n\ |
347 /methods <name>\n\t\ |
351 /methods <name>\n\t\ |
348 List jshell methods with the specified name (preference for active methods)\n\n\ |
352 List methods with the specified name (preference for active methods)\n\n\ |
349 /methods <id>\n\t\ |
353 /methods <id>\n\t\ |
350 List the jshell method with the specified snippet id\n\n\ |
354 List the method with the specified snippet ID.\n\t\ |
351 /methods <id> <id>... <file>\n\t\ |
355 One or more IDs or ID ranges may used, see '/help id'\n\n\ |
352 List jshell methods with the specified snippet ids\n\n\ |
|
353 /methods <id>-<id> <file>\n\t\ |
|
354 List jshell methods within the range of snippet ids\n\n\ |
|
355 /methods -start\n\t\ |
356 /methods -start\n\t\ |
356 List the automatically added start-up jshell methods\n\n\ |
357 List the methods in the evaluated startup snippets\n\n\ |
357 /methods -all\n\t\ |
358 /methods -all\n\t\ |
358 List all snippets including failed, overwritten, dropped, and start-up |
359 List all snippets including failed, overwritten, dropped, and startup |
359 |
360 |
360 help.types.summary = list the declared types |
361 help.types.summary = list the type declarations |
361 help.types.args =[<name or id>|-all|-start] |
362 help.types.args =[<name or id>|-all|-start] |
362 help.types =\ |
363 help.types =\ |
363 List jshell classes, interfaces, and enums.\n\ |
364 List classes and interfaces that were entered.\n\ |
364 \n\ |
365 \n\ |
365 /types\n\t\ |
366 /types\n\t\ |
366 List the current active jshell classes, interfaces, and enums.\n\n\ |
367 List the current active type declarations\n\n\ |
367 /types <name>\n\t\ |
368 /types <name>\n\t\ |
368 List jshell types with the specified name (preference for active types)\n\n\ |
369 List type declarations with the specified name (preference for active snippets)\n\n\ |
369 /types <id>\n\t\ |
370 /types <id>\n\t\ |
370 List the jshell type with the specified snippet id\n\n\ |
371 List the type declaration with the specified snippet ID.\n\t\ |
371 /types <id> <id>... <file>\n\t\ |
372 One or more IDs or ID ranges may used, see '/help id'\n\n\ |
372 List jshell types with the specified snippet ids\n\n\ |
|
373 /types <id>-<id> <file>\n\t\ |
|
374 List jshell types within the range of snippet ids\n\n\ |
|
375 /types -start\n\t\ |
373 /types -start\n\t\ |
376 List the automatically added start-up jshell types\n\n\ |
374 List the type declarations in the evaluated startup snippets\n\n\ |
377 /types -all\n\t\ |
375 /types -all\n\t\ |
378 List all jshell types including failed, overwritten, dropped, and start-up |
376 List all type declarations including failed, overwritten, dropped, and startup |
379 |
377 |
380 help.imports.summary = list the imported items |
378 help.imports.summary = list the imported items |
381 help.imports.args = |
379 help.imports.args = |
382 help.imports =\ |
380 help.imports =\ |
383 List the current active jshell imports. |
381 List the current active imports. This will include imports from\n\ |
384 |
382 startup snippets. |
385 help.exit.summary = exit jshell |
383 |
|
384 help.exit.summary = exit the jshell tool |
386 help.exit.args =[<integer-expression-snippet>] |
385 help.exit.args =[<integer-expression-snippet>] |
387 help.exit =\ |
386 help.exit =\ |
388 Leave the jshell tool. No work is saved.\n\ |
387 Leave the jshell tool. No work is saved.\n\ |
389 Save any work before using this command\n\ |
388 Save any work before using this command\n\ |
390 \n\ |
389 \n\ |
391 /exit\n\t\ |
390 /exit\n\t\ |
392 Leave the jshell tool. The exit status is zero.\n\n\ |
391 Leave the jshell tool. The exit status is zero\n\n\ |
393 /exit <integer-expression-snippet>\n\t\ |
392 /exit <integer-expression-snippet>\n\t\ |
394 Evaluate the snippet. If the snippet fails or is not an integer expression,\n\t\ |
393 Evaluate the snippet. If the snippet fails or is not an integer expression,\n\t\ |
395 display the error. Otherwise leave the jshell tool with the\n\t\ |
394 display the error. Otherwise leave the jshell tool with the\n\t\ |
396 value of the expression as the exit status |
395 value of the expression as the exit status |
397 |
396 |
398 help.reset.summary = reset jshell |
397 help.reset.summary = reset the jshell tool |
399 help.reset.args = \ |
398 help.reset.args = \ |
400 [-class-path <path>] [-module-path <path>] [-add-modules <modules>]... |
399 [-class-path <path>] [-module-path <path>] [-add-modules <modules>]... |
401 help.reset =\ |
400 help.reset =\ |
402 Reset the jshell tool code and execution state:\n\t\ |
401 Reset the jshell tool code and execution state:\n\t\ |
403 * All entered code is lost.\n\t\ |
402 * All entered code is lost\n\t\ |
404 * Start-up code is re-executed.\n\t\ |
403 * The execution state is restarted\n\t\ |
405 * The execution state is restarted.\n\t\ |
404 * Startup code is re-executed\n\ |
406 Tool settings are maintained, as set with: /set ...\n\ |
|
407 Save any work before using this command.\n\ |
405 Save any work before using this command.\n\ |
408 The /reset command accepts context options, see:\n\n\t\ |
406 The /reset command accepts evaluation context options, see:\n\n\t\ |
409 /help context\n\ |
407 /help context\n\ |
410 |
408 |
411 |
409 |
412 help.reload.summary = reset and replay relevant history -- current or previous (-restore) |
410 help.reload.summary = reset and replay relevant history -- current or previous (-restore) |
413 help.reload.args = \ |
411 help.reload.args = \ |
415 help.reload =\ |
413 help.reload =\ |
416 Reset the jshell tool code and execution state then replay each valid snippet\n\ |
414 Reset the jshell tool code and execution state then replay each valid snippet\n\ |
417 and any /drop commands in the order they were entered.\n\ |
415 and any /drop commands in the order they were entered.\n\ |
418 \n\ |
416 \n\ |
419 /reload\n\t\ |
417 /reload\n\t\ |
420 Reset and replay the valid history since jshell was entered, or\n\t\ |
418 Reset and replay the valid history since the jshell tool was entered, or\n\t\ |
421 a /reset, or /reload command was executed -- whichever is most\n\t\ |
419 a /reset or /reload command was executed -- whichever is most\n\t\ |
422 recent.\n\n\ |
420 recent\n\n\ |
423 /reload -restore\n\t\ |
421 /reload -restore\n\t\ |
424 Reset and replay the valid history between the previous and most\n\t\ |
422 Reset and replay the valid history between the previous and most\n\t\ |
425 recent time that jshell was entered, or a /reset, /reload, or /env\n\t\ |
423 recent time that the jshell tool was entered, or a /reset, /reload, or /env\n\t\ |
426 command was executed. This can thus be used to restore a previous\n\t\ |
424 command was executed. This can thus be used to restore a previous\n\t\ |
427 jshell tool session.\n\n\ |
425 jshell tool session\n\n\ |
428 /reload [-restore] -quiet\n\t\ |
426 /reload [-restore] -quiet\n\t\ |
429 With the '-quiet' argument the replay is not shown. Errors will display.\n\ |
427 With the '-quiet' argument the replay is not shown, however any errors\n\t\ |
430 \n\ |
428 will be displayed\n\ |
431 Each of the above accepts context options, see:\n\n\t\ |
429 \n\ |
|
430 Each of the above accepts evaluation context options, see:\n\n\t\ |
432 /help context\n\ |
431 /help context\n\ |
433 \n\ |
432 \n\ |
434 For example:\n\n\t\ |
433 For example:\n\n\t\ |
435 /reload -add-modules com.greetings -restore |
434 /reload -add-modules com.greetings -restore |
436 |
435 |
437 help.env.summary = view or change the evaluation context |
436 help.env.summary = view or change the evaluation context |
438 help.env.args = \ |
437 help.env.args = \ |
439 [-class-path <path>] [-module-path <path>] [-add-modules <modules>] ... |
438 [-class-path <path>] [-module-path <path>] [-add-modules <modules>] ... |
440 help.env =\ |
439 help.env =\ |
441 View or change the evaluation context. The evaluation context is the class path,\n\ |
440 View or change the evaluation context. The evaluation context is the class path,\n\ |
442 module path, etc.\n\ |
441 module path, etc.\n\n\ |
443 /env\n\t\ |
442 /env\n\t\ |
444 Show the evaluation context displayed as context options.\n\n\ |
443 Show the evaluation context displayed as context options\n\n\ |
445 /env [-class-path <path>] [-module-path <path>] [-add-modules <modules>] ...\n\t\ |
444 /env [-class-path <path>] [-module-path <path>] [-add-modules <modules>] ...\n\t\ |
446 With at least one option set, sets the evaluation context. If snippets\n\t\ |
445 With at least one option set, sets the evaluation context. If snippets\n\t\ |
447 have been defined, the execution state is reset with the new\n\t\ |
446 have been defined, the execution state is reset with the new\n\t\ |
448 evaluation context and the snippets will be replayed -- the replay is not\n\t\ |
447 evaluation context and the snippets will be replayed -- the replay is not\n\t\ |
449 shown, however, errors will display. This is equivalent to: /reload -quiet\n\t\ |
448 shown, however any errors will be displayed. This is equivalent to:\n\n\t\t\ |
450 For details of context options, see:\n\n\t\t\ |
449 /reload -quiet ...\n\ |
451 /help context\n\n\t\ |
450 \n\ |
452 For example:\n\n\t\t\ |
451 For details of evaluation context options, see:\n\n\t\ |
453 /env -add-modules com.greetings |
452 /help context\n\n\ |
|
453 For example:\n\n\t\ |
|
454 /env -add-modules com.greetings |
454 |
455 |
455 help.history.summary = history of what you have typed |
456 help.history.summary = history of what you have typed |
456 help.history.args = |
457 help.history.args = |
457 help.history =\ |
458 help.history =\ |
458 Display the history of snippet and command input since this jshell was launched. |
459 Display the history of snippet and command input since this jshell tool was launched. |
459 |
460 |
460 help.debug.summary = toggle debugging of the jshell |
461 help.debug.summary = toggle debugging of the jshell tool |
461 help.debug.args = [0][r][g][f][c][d][e] |
462 help.debug.args = [0][r][g][f][c][d][e] |
462 help.debug =\ |
463 help.debug =\ |
463 Display debugging information for the jshell implementation.\n\ |
464 Display debugging information for the jshell tool implementation.\n\ |
464 0: Debugging off\n\ |
465 0: Debugging off\n\ |
465 r: Tool level debugging on\n\ |
466 r: Tool level debugging on\n\ |
466 g: General debugging on\n\ |
467 g: General debugging on\n\ |
467 f: File manager debugging on\n\ |
468 f: File manager debugging on\n\ |
468 c: Completion analysis debugging on\n\ |
469 c: Completion analysis debugging on\n\ |
469 d: Dependency debugging on\n\ |
470 d: Dependency debugging on\n\ |
470 e: Event debugging on |
471 e: Event debugging on |
471 |
472 |
472 help.help.summary = get information about jshell |
473 help.help.summary = get information about using the jshell tool |
473 help.help.args = [<command>|<subject>] |
474 help.help.args = [<command>|<subject>] |
474 help.help =\ |
475 help.help =\ |
475 Display information about jshell.\n\ |
476 Display information about using the jshell tool.\n\ |
476 /help\n\t\ |
477 /help\n\t\ |
477 List the jshell commands and help subjects.\n\n\ |
478 List the jshell tool commands and help subjects\n\n\ |
478 /help <command>\n\t\ |
479 /help <command>\n\t\ |
479 Display information about the specified command. The slash must be included.\n\t\ |
480 Display information about the specified command. The slash must be included.\n\t\ |
480 Only the first few letters of the command are needed -- if more than one\n\t\ |
481 Only the first few letters of the command are needed -- if more than one\n\t\ |
481 each will be displayed. Example: /help /li\n\n\ |
482 each will be displayed. Example: /help /li\n\n\ |
482 /help <subject>\n\t\ |
483 /help <subject>\n\t\ |
483 Display information about the specified help subject. Example: /help intro |
484 Display information about the specified help subject. Example: /help intro |
484 |
485 |
485 help.set.summary = set jshell configuration information |
486 help.set.summary = set configuration information |
486 help.set.args = editor|start|feedback|mode|prompt|truncation|format ... |
487 help.set.args = editor|start|feedback|mode|prompt|truncation|format ... |
487 help.set =\ |
488 help.set =\ |
488 Set jshell configuration information, including:\n\ |
489 Set the jshell tool configuration information, including:\n\ |
489 the external editor to use, the start-up definitions to use, a new feedback mode,\n\ |
490 the external editor to use, the startup definitions to use, a new feedback mode,\n\ |
490 the command prompt, the feedback mode to use, or the format of output.\n\ |
491 the command prompt, the feedback mode to use, or the format of output.\n\ |
491 \n\ |
492 \n\ |
492 /set editor [-wait] <command> <optional-arg>...\n\t\ |
493 /set editor [-wait] <command> <optional-arg>...\n\t\ |
493 Specify the command to launch for the /edit command.\n\t\ |
494 Specify the command to launch for the /edit command.\n\t\ |
494 The <command> is an operating system dependent string.\n\n\ |
495 The <command> is an operating system dependent string\n\n\ |
495 /set start <file>\n\t\ |
496 /set start <file>\n\t\ |
496 The contents of the specified <file> become the default start-up snippets and commands.\n\n\ |
497 The contents of the specified <file> become the default startup snippets and commands\n\n\ |
497 /set feedback <mode>\n\t\ |
498 /set feedback <mode>\n\t\ |
498 Set the feedback mode describing displayed feedback for entered snippets and commands.\n\n\ |
499 Set the feedback mode describing displayed feedback for entered snippets and commands\n\n\ |
499 /set mode <mode> [<old-mode>] -command|-quiet|-delete\n\t\ |
500 /set mode <mode> [<old-mode>] -command|-quiet|-delete\n\t\ |
500 Create or update a user-defined feedback mode, optionally copying from an existing mode.\n\n\ |
501 Create or update a user-defined feedback mode, optionally copying from an existing mode\n\n\ |
501 /set prompt <mode> "<prompt>" "<continuation-prompt>"\n\t\ |
502 /set prompt <mode> "<prompt>" "<continuation-prompt>"\n\t\ |
502 Set the displayed prompts for a given feedback mode.\n\n\ |
503 Set the displayed prompts for a given feedback mode\n\n\ |
503 /set truncation <mode> <length> <selector>...\n\t\ |
504 /set truncation <mode> <length> <selector>...\n\t\ |
504 Set the maximum length of a displayed value.\n\n\ |
505 Set the maximum length of a displayed value\n\n\ |
505 /set format <mode> <field> "<format>" <selector>...\n\t\ |
506 /set format <mode> <field> "<format>" <selector>...\n\t\ |
506 Configure a feedback mode by setting the format of a field when the selector matches.\n\n\ |
507 Configure a feedback mode by setting the format of a field when the selector matches\n\n\ |
507 /set\n\t\ |
508 /set\n\t\ |
508 Show editor, start, and feedback settings as /set commands.\n\t\ |
509 Show editor, start, and feedback settings as /set commands.\n\t\ |
509 To show the settings of any of the above, omit the set value.\n\n\ |
510 To show the settings of any of the above, omit the set value\n\n\ |
510 To get more information about one of these forms, use /help with the form specified.\n\ |
511 To get more information about one of these forms, use /help with the form specified.\n\ |
511 For example: /help /set format |
512 For example: /help /set format |
512 |
513 |
513 help.quest.summary = get information about jshell |
514 help.quest.summary = get information about using the jshell tool |
514 help.quest.args = [<command>|<subject>] |
515 help.quest.args = [<command>|<subject>] |
515 help.quest =\ |
516 help.quest =\ |
516 Display information about jshell (abbreviation for /help).\n\ |
517 Display information about using the jshell tool (abbreviation for /help).\n\ |
517 /?\n\t\ |
518 /?\n\t\ |
518 Display list of commands and help subjects.\n\ |
519 Display list of commands and help subjects\n\ |
519 /? <command>\n\t\ |
520 /? <command>\n\t\ |
520 Display information about the specified command. The slash must be included.\n\t\ |
521 Display information about the specified command. The slash must be included.\n\t\ |
521 Only the first few letters of the command are needed -- if more than one\n\t\ |
522 Only the first few letters of the command are needed -- if more than one\n\t\ |
522 match, each will be displayed. Example: /? /li\n\ |
523 match, each will be displayed. Example: /? /li\n\ |
523 /? <subject>\n\t\ |
524 /? <subject>\n\t\ |
578 then release and press "m", the expression or statement will be converted to\n\t\t\ |
580 then release and press "m", the expression or statement will be converted to\n\t\t\ |
579 a method declaration. If an expression, the return type is based on the type\n\t\t\ |
581 a method declaration. If an expression, the return type is based on the type\n\t\t\ |
580 of the expression.\n\n\ |
582 of the expression.\n\n\ |
581 Shift-<tab> i\n\t\t\ |
583 Shift-<tab> i\n\t\t\ |
582 After an unresolvable identifier, hold down <shift> while pressing <tab>,\n\t\t\ |
584 After an unresolvable identifier, hold down <shift> while pressing <tab>,\n\t\t\ |
583 then release and press "i", and jshell will propose possible imports\n\t\t\ |
585 then release and press "i", and the jshell tool will propose possible imports\n\t\t\ |
584 which will resolve the identifier based on the content of the specified classpath. |
586 which will resolve the identifier based on the content of the specified classpath. |
585 |
587 |
586 help.context.summary = a description of the evaluation context options for /env /reload and /reset |
588 help.context.summary = a description of the evaluation context options for /env /reload and /reset |
587 help.context =\ |
589 help.context =\ |
588 These options configure the evaluation context, they can be specified when\n\ |
590 These options configure the evaluation context. They can be specified on the\n\ |
589 jshell is started: on the command-line, or restarted with the commands /env,\n\ |
591 command-line when the jshell tool is started or as command options when the jshell tool is\n\ |
590 /reload, or /reset.\n\ |
592 restarted with the commands /env, /reload, or /reset.\n\ |
591 \n\ |
593 \n\ |
592 They are:\n\t\ |
594 They are:\n\t\ |
593 --class-path <class search path of directories and zip/jar files>\n\t\t\ |
595 --class-path <path>\n\t\t\ |
594 A list of directories, JAR archives,\n\t\t\ |
596 The <path> is a list of directories, JAR archives,\n\t\t\ |
595 and ZIP archives to search for class files.\n\t\t\ |
597 and ZIP archives to search for class files.\n\t\t\ |
596 The list is separated with the path separator\n\t\t\ |
598 For Windows, use a semicolon (;) to separate items in the\n\t\t\ |
597 (a : on unix/linux/mac, and ; on windows).\n\t\ |
599 path. On other platforms, use a colon (:) to separate items.\n\t\ |
598 --module-path <module path>...\n\t\t\ |
600 --module-path <path>...\n\t\t\ |
599 A list of directories, each directory\n\t\t\ |
601 The <path> is a list of directories, JAR archives,\n\t\t\ |
600 is a directory of modules.\n\t\t\ |
602 and ZIP archives to search for modules.\n\t\t\ |
601 The list is separated with the path separator\n\t\t\ |
603 For Windows, use a semicolon (;) to separate items in the\n\t\t\ |
602 (a : on unix/linux/mac, and ; on windows).\n\t\ |
604 path. On other platforms, use a colon (:) to separate items.\n\t\ |
603 --add-modules <modulename>[,<modulename>...]\n\t\t\ |
605 --add-modules <modulename>[,<modulename>...]\n\t\t\ |
604 root modules to resolve in addition to the initial module.\n\t\t\ |
606 root modules to resolve in addition to the initial module.\n\t\t\ |
605 <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\t\t\ |
607 <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\t\t\ |
606 ALL-MODULE-PATH.\n\t\ |
608 ALL-MODULE-PATH.\n\t\ |
607 --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\t\t\ |
609 --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\t\t\ |
935 runs of the jshell tool.\n\ |
972 runs of the jshell tool.\n\ |
936 \n\ |
973 \n\ |
937 The form without <command> or options shows the editor setting.\n |
974 The form without <command> or options shows the editor setting.\n |
938 |
975 |
939 help.set.start.summary =\ |
976 help.set.start.summary =\ |
940 Set the start-up configuration. |
977 Set the startup configuration |
941 |
978 |
942 help.set.start =\ |
979 help.set.start =\ |
943 Set the start-up configuration -- a sequence of snippets and commands read at start-up:\n\ |
980 Set the startup configuration -- a sequence of snippets and commands read at startup:\n\ |
944 \n\t\ |
981 \n\t\ |
945 /set start [-retain] <file>...\n\ |
982 /set start [-retain] <file>...\n\ |
946 \n\t\ |
983 \n\t\ |
947 /set start [-retain] -default\n\ |
984 /set start [-retain] -default\n\ |
948 \n\t\ |
985 \n\t\ |
949 /set start [-retain] -none\n\ |
986 /set start [-retain] -none\n\ |
950 \n\ |
987 \n\ |
951 Retain the start-up configuration for future sessions:\n\ |
988 Retain the startup configuration for future sessions:\n\ |
952 \n\t\ |
989 \n\t\ |
953 /set start -retain\n\ |
990 /set start -retain\n\ |
954 \n\ |
991 \n\ |
955 Show the start-up setting:\n\ |
992 Show the startup setting:\n\ |
956 \n\t\ |
993 \n\t\ |
957 /set start\n\ |
994 /set start\n\ |
958 \n\ |
995 \n\ |
959 The contents of the specified <file> become the start-up snippets and commands used\n\ |
996 The contents of the specified <file> become the startup snippets and commands used\n\ |
960 when the /reset, /reload, or /env commands are used in this session.\n\ |
997 when the /reset, /reload, or /env commands are used in this session.\n\ |
961 If instead the -default option is specified, the predefined start-up import\n\ |
998 If instead the -default option is specified, the predefined startup import\n\ |
962 snippets will be used.\n\ |
999 snippets will be used.\n\ |
963 If the -none option is used, the start-up will be empty -- no start-up snippets\n\ |
1000 If the -none option is used, the startup will be empty -- no startup snippets\n\ |
964 or commands will be used.\n\ |
1001 or commands will be used.\n\ |
965 This command is good for testing the start-up settings. To retain them for future\n\ |
1002 This command is good for testing the startup settings. To retain them for future\n\ |
966 runs of the jshell tool use the command:\n\t\ |
1003 runs of the jshell tool use the command:\n\t\ |
967 /set start -retain\n\ |
1004 /set start -retain\n\ |
968 \n\ |
1005 \n\ |
969 When the -retain option is used, the setting will be used in this and future\n\ |
1006 When the -retain option is used, the setting will be used in this and future\n\ |
970 runs of the jshell tool.\n\ |
1007 runs of the jshell tool.\n\ |
971 \n\ |
1008 \n\ |
972 The form without <file> or options shows the start-up setting.\n\ |
1009 The form without <file> or options shows the startup setting.\n\ |
973 Note: if the start-up was last set from a file, this is shown with the\n\ |
1010 Note: if the startup was last set from a file, this is shown with the\n\ |
974 'set start' command followed by the contents of the file.\n\ |
1011 'set start' command followed by the contents of the file.\n\ |
975 \n\ |
1012 \n\ |
976 The <file> may be an operating system file name, or one of the predefined\n\ |
1013 The <file> may be an operating system file name, or one of the predefined\n\ |
977 startup file names: DEFAULT, PRINTING, or JAVASE.\n\ |
1014 startup file names: DEFAULT, PRINTING, or JAVASE.\n\ |
978 These are respectively: the default import snippets (as used by -default),\n\ |
1015 These are respectively: the default import snippets (as used by -default),\n\ |