8222486: Reorder sample usage in jpackage help output JDK-8200758-branch
authorherrick
Mon, 15 Apr 2019 11:22:45 -0400
branchJDK-8200758-branch
changeset 57328 b33e5f36b59b
parent 57327 8b01c7bfb36f
child 57329 8009cf5b833d
8222486: Reorder sample usage in jpackage help output Reviewed-by: kbr
src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties
src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_ja.properties
src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties
--- a/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties	Mon Apr 15 09:34:52 2019 -0400
+++ b/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties	Mon Apr 15 11:22:45 2019 -0400
@@ -34,6 +34,9 @@
 \          \n\
 Sample usages:\n\
 --------------\n\
+\    Generate a non-modular application image:\n\
+\        jpackage create-app-image -o outputdir -i inputdir -n name \\\n\
+\            --main-class className --main-jar MyJar.jar\n\
 \    Generate a modular application image:\n\
 \        jpackage create-app-image -o outputdir -n name \\\n\
 \            -p modulePath -m moduleName/className\n\
@@ -42,9 +45,6 @@
 \                --no-header-files [<additional jlink options>...]\n\
 \            jpackage create-app-image -o outputdir -n name\\\n\
 \                -m moduleName/className --runtime-image appRuntimeIMage\n\
-\    Generate a non-modular application image:\n\
-\        jpackage create-app-image -o outputdir -i inputdir -n name \\\n\
-\            --main-class className --main-jar MyJar.jar\n\
 \    Generate an application installer:\n\
 \        jpackage create-installer -o outputdir -n name \\\n\
 \            -p modulePath -m moduleName/className\n\
--- a/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_ja.properties	Mon Apr 15 09:34:52 2019 -0400
+++ b/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_ja.properties	Mon Apr 15 11:22:45 2019 -0400
@@ -34,6 +34,9 @@
 \          \n\
 Sample usages:\n\
 --------------\n\
+\    Generate a non-modular application image:\n\
+\        jpackage create-app-image -o outputdir -i inputdir -n name \\\n\
+\            --main-class className --main-jar MyJar.jar\n\
 \    Generate a modular application image:\n\
 \        jpackage create-app-image -o outputdir -n name \\\n\
 \            -p modulePath -m moduleName/className\n\
@@ -42,9 +45,6 @@
 \                --no-header-files [<additional jlink options>...]\n\
 \            jpackage create-app-image -o outputdir -n name\\\n\
 \                -m moduleName/className --runtime-image appRuntimeIMage\n\
-\    Generate a non-modular application image:\n\
-\        jpackage create-app-image -o outputdir -i inputdir -n name \\\n\
-\            --main-class className --main-jar MyJar.jar\n\
 \    Generate an application installer:\n\
 \        jpackage create-installer -o outputdir -n name \\\n\
 \            -p modulePath -m moduleName/className\n\
--- a/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties	Mon Apr 15 09:34:52 2019 -0400
+++ b/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties	Mon Apr 15 11:22:45 2019 -0400
@@ -34,6 +34,9 @@
 \          \n\
 Sample usages:\n\
 --------------\n\
+\    Generate a non-modular application image:\n\
+\        jpackage create-app-image -o outputdir -i inputdir -n name \\\n\
+\            --main-class className --main-jar MyJar.jar\n\
 \    Generate a modular application image:\n\
 \        jpackage create-app-image -o outputdir -n name \\\n\
 \            -p modulePath -m moduleName/className\n\
@@ -42,9 +45,6 @@
 \                --no-header-files [<additional jlink options>...]\n\
 \            jpackage create-app-image -o outputdir -n name\\\n\
 \                -m moduleName/className --runtime-image appRuntimeIMage\n\
-\    Generate a non-modular application image:\n\
-\        jpackage create-app-image -o outputdir -i inputdir -n name \\\n\
-\            --main-class className --main-jar MyJar.jar\n\
 \    Generate an application installer:\n\
 \        jpackage create-installer -o outputdir -n name \\\n\
 \            -p modulePath -m moduleName/className\n\