From a118ec64db9d36f1ddf9c53affb55f80901507f8 Mon Sep 17 00:00:00 2001 From: Serge Guzik Date: Mon, 18 Feb 2019 16:37:27 +0200 Subject: [PATCH] docs: Update help and README --- README.md | 12 +++++++----- warp4j | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5407371..541a05a 100644 --- a/README.md +++ b/README.md @@ -43,11 +43,11 @@ my-app.jar warped $ ls warped -my-app-linux +my-app-linux-x64 my-app-linux-x64.tar.gz -my-app-macos +my-app-macos-x64 my-app-macos-x64.tar.gz -my-app-windows.exe +my-app-windows-x64.exe my-app-windows-x64.zip ``` @@ -76,7 +76,7 @@ Options: "--java-version" --no-optimize use JRE instead of optimized JDK; by default jdeps and jlink are used to create - optimized JDK for the partiular jar, + optimized JDK for the particular jar; JRE is always used for java 8 --pull check if more recent JDK/JRE distro is available; by default latest cached version that matches @@ -90,7 +90,7 @@ Options: (default: hotspot) --jvm-options passed to java like this: - "java -jar " + "java -jar "; use quotes when passing multiple options example: '-Xms512m -Xmx1024m' -h, --help show this message @@ -110,3 +110,5 @@ Downloaded runtimes and prepared bundles are here: - Linux: `$HOME/.local/share/warp4j` - macOS: `$HOME/Library/Application Support/warp4j` + +To override cache path, set `WARP4J_CACHE` environment variable. diff --git a/warp4j b/warp4j index c7f0528..e9faee6 100755 --- a/warp4j +++ b/warp4j @@ -22,7 +22,7 @@ function print_help { echo ' "--java-version"' echo ' --no-optimize use JRE instead of optimized JDK;' echo ' by default jdeps and jlink are used to create' - echo ' optimized JDK for the partiular jar,' + echo ' optimized JDK for the particular jar;' echo ' JRE is always used for java 8' echo ' --pull check if more recent JDK/JRE distro is available;' echo ' by default latest cached version that matches' @@ -36,7 +36,7 @@ function print_help { echo ' (default: hotspot)' echo ' --jvm-options ' echo ' passed to java like this:' - echo ' "java -jar "' + echo ' "java -jar ";' echo ' use quotes when passing multiple options' echo " example: '-Xms512m -Xmx1024m'" echo ' -h, --help show this message'