diff --git a/README.md b/README.md index b687adc..fbc0270 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ Options: --pull check if more recent JDK/JRE distro is available; by default latest cached version that matches "--java-version" is used - --target-linux create binary for Linux - --target-macos create binary for macOS - --target-windows create binary for Windows + --linux create binary for Linux + --macos create binary for macOS + --windows create binary for Windows if no targets are specified then binaries for all targets are created --jvm-impl jvm implementation: hotspot or openj9 diff --git a/warp4j b/warp4j index 74cf021..018724b 100755 --- a/warp4j +++ b/warp4j @@ -22,9 +22,9 @@ function print_help { echo ' --pull check if more recent JDK/JRE distro is available;' echo ' by default latest cached version that matches' echo ' "--java-version" is used' - echo ' --target-linux create binary for Linux' - echo ' --target-macos create binary for macOS' - echo ' --target-windows create binary for Windows' + echo ' --linux create binary for Linux' + echo ' --macos create binary for macOS' + echo ' --windows create binary for Windows' echo ' if no targets are specified then binaries for' echo ' all targets are created' echo ' --jvm-impl jvm implementation: hotspot or openj9' @@ -95,15 +95,15 @@ while [[ $# -gt 0 ]]; do PULL=true shift ;; - --target-linux) + --linux) TARGETS+=($LIN) shift ;; - --target-macos) + --macos) TARGETS+=($MAC) shift ;; - --target-windows) + --windows) TARGETS+=($WIN) shift ;;