From 333597d8dd68d75e1b4809401a873ce33e110750 Mon Sep 17 00:00:00 2001 From: Serge Guzik Date: Wed, 13 Feb 2019 13:08:47 +0200 Subject: [PATCH] docs: Update help --- README.md | 6 ++++-- warp4j | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6fcddc0..ee8a5c1 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Turn JAR (java archive) into self-contained executable. - automatically downloads java runtimes - creates runtimes optimized for your application -- creates self-contained binaries for Linux, MacOS and Windows using [warp-packer](https://github.com/dgiagio/warp) +- creates self-contained binaries for Linux, macOS and Windows using [warp-packer](https://github.com/dgiagio/warp) ## TL;DR @@ -79,7 +79,9 @@ Options: --jvm-options passed to java like this: "java -jar " - -h, --help show this help + use quotes, for example: + '-Xms512m -Xmx1024m' + -h, --help show this message ``` ## Cache Location diff --git a/warp4j b/warp4j index 1ab20f9..9622908 100755 --- a/warp4j +++ b/warp4j @@ -27,7 +27,9 @@ function print_help { echo ' --jvm-options ' echo ' passed to java like this:' echo ' "java -jar "' - echo ' -h, --help show this help' + echo ' use quotes, for example:' + echo " '-Xms512m -Xmx1024m'" + echo ' -h, --help show this message' exit }