]> git.proxmox.com Git - pve-docs.git/blobdiff - qm.adoc
qm: use posix long-opt in hookscript example
[pve-docs.git] / qm.adoc
diff --git a/qm.adoc b/qm.adoc
index b84de9ea9f8751ed69afd57aa7e9958dde167da9..a1d2f3d04722d8e18c207e4ca9914da2fd7841ea 100644 (file)
--- a/qm.adoc
+++ b/qm.adoc
@@ -1332,7 +1332,7 @@ Hookscripts
 
 You can add a hook script to VMs with the config property `hookscript`.
 
- qm set 100 -hookscript local:snippets/hookscript.pl
+ qm set 100 --hookscript local:snippets/hookscript.pl
 
 It will be called during various phases of the guests lifetime.
 For an example and documentation see the example script under