]> git.proxmox.com Git - pve-docs.git/commitdiff
qm: use posix long-opt in hookscript example
authorAaron Lauterer <a.lauterer@proxmox.com>
Mon, 1 Feb 2021 10:06:12 +0000 (11:06 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 24 Apr 2021 17:44:29 +0000 (19:44 +0200)
[Thomas]
both work just fine, but the single minus is a bit to extra

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
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`.
 
 
 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
 
 It will be called during various phases of the guests lifetime.
 For an example and documentation see the example script under