Skip to content

Commit

Permalink
Adjusting the concise help based on review suggestions.
Browse files Browse the repository at this point in the history
  • Loading branch information
lahodaj committed Oct 10, 2024
1 parent 7293903 commit 0a6c17f
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ java.launcher.opt.footer = \
\ -cp <class search path of directories and zip/jar files>\n\
\ -classpath <class search path of directories and zip/jar files>\n\
\ --class-path <class search path of directories and zip/jar files>\n\
\ A {0} separated list of directories, JAR archives,\n\
\ A "{0}"-separated list of directories, JAR archives,\n\
\ and ZIP archives to search for class files.\n\
\ -p <module path>\n\
\ --module-path <module path>...\n\
\ A {0} separated list of elements, each element is a file path\n\
\ A "{0}"-separated list of elements, each element is a file path\n\
\ to a module or a directory containing modules. Each module is either\n\
\ a modular JAR or an exploded-module directory.\n\
\ --upgrade-module-path <module path>...\n\
\ A {0} separated list of elements, each element is a file path\n\
\ A "{0}"-separated list of elements, each element is a file path\n\
\ to a module or a directory containing modules to replace\n\
\ upgradeable modules in the runtime image. Each module is either\n\
\ a modular JAR or an exploded-module directory.\n\
Expand Down Expand Up @@ -233,17 +233,17 @@ The following options are macOS specific:\n\
\ override default icon displayed in dock\n\n

# Translators please note do not translate the options themselves
java.launcher.opt.concise.header = Usage: java [options...] <what to execute> [arguments to main method...]\n\n\
\Where <what to execute> is one of:\n\
java.launcher.opt.concise.header = Usage: java [java options...] <application> [application arguments...]\n\n\
\Where <application> is one of:\n\
\ <MainClass> to execute the main method of a compiled class\n\
\ -jar <jar-file.jar> to execute the main class in a JAR archive\n\
\ -m <module>[/<MainClass>] to execute the main class of a module\n\
\ <SourceFile.java> to compile and execute a single-file program\n\n\
\Where key options include:\n\
\Where key java options include:\n\
\ --class-path <class path>\n\
\ a {0} separated list of directories and JAR archives to search for class files\n\
\ a "{0}"-separated list of directories and JAR archives to search for class files\n\
\ --module-path <module path>\n\
\ a {0} separated list of directories and JAR archives to search for modules\n\n\
\ a "{0}"-separated list of directories and JAR archives to search for modules\n\n\
\For more details about this launcher: java --help\n\
\For an interactive Java environment: jshell

Expand Down

0 comments on commit 0a6c17f

Please sign in to comment.