src/java.base/share/classes/sun/launcher/resources/launcher.properties
changeset 50546 52b866a1a63a
parent 50545 292a4a87c321
parent 50453 f91927a2c8d3
child 54972 f98a0ab24887
equal deleted inserted replaced
50545:292a4a87c321 50546:52b866a1a63a
    23 # questions.
    23 # questions.
    24 #
    24 #
    25 
    25 
    26 # Translators please note do not translate the options themselves
    26 # Translators please note do not translate the options themselves
    27 java.launcher.opt.header  =   Usage: {0} [options] <mainclass> [args...]\n\
    27 java.launcher.opt.header  =   Usage: {0} [options] <mainclass> [args...]\n\
    28 \           (to execute a class)\n   or  {0} [options] -jar <jarfile> [args...]\n\
    28 \           (to execute a class)\n\
       
    29 \   or  {0} [options] -jar <jarfile> [args...]\n\
    29 \           (to execute a jar file)\n\
    30 \           (to execute a jar file)\n\
    30 \   or  {0} [options] -m <module>[/<mainclass>] [args...]\n\
    31 \   or  {0} [options] -m <module>[/<mainclass>] [args...]\n\
    31 \       {0} [options] --module <module>[/<mainclass>] [args...]\n\
    32 \       {0} [options] --module <module>[/<mainclass>] [args...]\n\
    32 \           (to execute the main class in a module)\n\n\
    33 \           (to execute the main class in a module)\n\
    33 \ Arguments following the main class, -jar <jarfile>, -m or --module\n\
    34 \   or  {0} [options] <sourcefile> [args]\n\
    34 \ <module>/<mainclass> are passed as the arguments to main class.\n\n\
    35 \           (to execute a single source-file program)\n\n\
       
    36 \ Arguments following the main class, source file, -jar <jarfile>,\n\
       
    37 \ -m or --module <module>/<mainclass> are passed as the arguments to\n\
       
    38 \ main class.\n\n\
    35 \ where options include:\n\n
    39 \ where options include:\n\n
    36 
    40 
    37 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
    41 java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
    38 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
    42 java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" VM  [deprecated]\n
    39 
    43 
   112 \    @argument files\n\
   116 \    @argument files\n\
   113 \                  one or more argument files containing options\n\
   117 \                  one or more argument files containing options\n\
   114 \    -disable-@files\n\
   118 \    -disable-@files\n\
   115 \                  prevent further argument file expansion\n\
   119 \                  prevent further argument file expansion\n\
   116 \    --enable-preview\n\
   120 \    --enable-preview\n\
   117 \                  allow classes to depend on preview features of this release
   121 \                  allow classes to depend on preview features of this release\n\
   118 \To specify an argument for a long option, you can use --<name>=<value> or\n\
   122 \To specify an argument for a long option, you can use --<name>=<value> or\n\
   119 \--<name> <value>.\n
   123 \--<name> <value>.\n
   120 
   124 
   121 # Translators please note do not translate the options themselves
   125 # Translators please note do not translate the options themselves
   122 java.launcher.X.usage=\n\
   126 java.launcher.X.usage=\n\
   178 \    --limit-modules <module name>[,<module name>...]\n\
   182 \    --limit-modules <module name>[,<module name>...]\n\
   179 \                      limit the universe of observable modules\n\
   183 \                      limit the universe of observable modules\n\
   180 \    --patch-module <module>=<file>({0}<file>)*\n\
   184 \    --patch-module <module>=<file>({0}<file>)*\n\
   181 \                      override or augment a module with classes and resources\n\
   185 \                      override or augment a module with classes and resources\n\
   182 \                      in JAR files or directories.\n\
   186 \                      in JAR files or directories.\n\
   183 \    --disable-@files  disable further argument file expansion\n\n\
   187 \    --disable-@files  disable further argument file expansion\n\
       
   188 \    --source <version>\n\
       
   189 \                      set the version of the source in source-file mode.\n\n\
   184 These extra options are subject to change without notice.\n
   190 These extra options are subject to change without notice.\n
   185 
   191 
   186 # Translators please note do not translate the options themselves
   192 # Translators please note do not translate the options themselves
   187 java.launcher.X.macosx.usage=\
   193 java.launcher.X.macosx.usage=\
   188 \n\
   194 \n\