diff --git a/doc/user_guide.adoc b/doc/user_guide.adoc
index de431d15..31ef4f69 100644
--- a/doc/user_guide.adoc
+++ b/doc/user_guide.adoc
@@ -659,7 +659,7 @@ can be configured in the `jpackage` script block.
----
- if skipInstaller is false:
create a platform-specific application installer in installerOutputDir by executing:
- jpackage --package-type installerType --app-image=imageOutputDir/imageName ...
+ jpackage --type installerType --app-image=imageOutputDir/imageName ...
----
The properties pass:[installerOutputDir, installerType, imageOutputDir, and imageName]
can be configured in the `jpackage` script block.
diff --git a/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy b/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy
index 6725daa3..c12c3b6f 100644
--- a/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy
+++ b/src/main/groovy/org/beryx/jlink/impl/JPackageImageTaskImpl.groovy
@@ -83,7 +83,7 @@ class JPackageImageTaskImpl extends BaseTaskImpl {
final def resourceOpts = (resourceDir == null) ? [] : [ '--resource-dir', resourceDir ]
commandLine = [jpackageExec,
- '--package-type', 'app-image',
+ '--type', 'app-image',
'--dest', outputDir,
'--name', jpd.imageName,
'--module-path', td.jlinkJarsDir,
diff --git a/src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy b/src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy
index 028a304a..43cfbc39 100644
--- a/src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy
+++ b/src/main/groovy/org/beryx/jlink/impl/JPackageTaskImpl.groovy
@@ -79,7 +79,7 @@ class JPackageTaskImpl extends BaseTaskImpl {
final def resourceOpts = (resourceDir == null) ? [] : [ '--resource-dir', resourceDir ]
commandLine = [jpackageExec,
- '--package-type', packageType,
+ '--type', packageType,
'--dest', td.jpackageData.getInstallerOutputDir(),
'--name', jpd.installerName,
*versionOpts,