docs: Update help

This commit is contained in:
Serge Guzik 2019-02-14 18:08:21 +02:00
parent bc8088402d
commit 5b99571ef4

15
warp4j Normal file → Executable file
View File

@ -10,25 +10,26 @@ function print_help {
echo ' -j, --java-version <version>' echo ' -j, --java-version <version>'
echo ' override JDK/JRE version' echo ' override JDK/JRE version'
echo ' examples: "11", "11.0", "11.0.2", "11.0.2+9"' echo ' examples: "11", "11.0", "11.0.2", "11.0.2+9"'
echo ' default: 11' echo ' (default: 11)'
echo ' --no-optimize use JRE instead of optimized JDK' echo ' --no-optimize use JRE instead of optimized JDK;'
echo ' by default jdeps and jlink are used to create' echo ' by default jdeps and jlink are used to create'
echo ' optimized JDK for the partiular jar,' echo ' optimized JDK for the partiular jar,'
echo ' JRE is always used for java 8' echo ' JRE is always used for java 8'
echo ' --pull check if more recent JDK/JRE distro is available' echo ' --pull check if more recent JDK/JRE distro is available;'
echo ' by default latest cached version that matches' echo ' by default latest cached version that matches'
echo ' "--java-version" is used' echo ' "--java-version" is used'
echo ' --target-linux create binary for Linux' echo ' --target-linux create binary for Linux'
echo ' --target-macos create binary for macOS' echo ' --target-macos create binary for macOS'
echo ' --target-windows create binary for Windows' echo ' --target-windows create binary for Windows'
echo ' if no targets specified then create for all' echo ' if no targets are specified then binaries for'
echo ' all targets are created'
echo ' --jvm-impl jvm implementation: hotspot or openj9' echo ' --jvm-impl jvm implementation: hotspot or openj9'
echo ' default: hotspot' echo ' (default: hotspot)'
echo ' --jvm-options <options>' echo ' --jvm-options <options>'
echo ' passed to java like this:' echo ' passed to java like this:'
echo ' "java <options> -jar <jar file>"' echo ' "java <options> -jar <jar file>"'
echo ' use quotes, for example:' echo ' use quotes when passing multiple options'
echo " '-Xms512m -Xmx1024m'" echo " example: '-Xms512m -Xmx1024m'"
echo ' -h, --help show this message' echo ' -h, --help show this message'
exit exit
} }