qm: use posix long-opt in hookscript example

[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>
This commit is contained in:
Aaron Lauterer 2021-02-01 11:06:12 +01:00 committed by Thomas Lamprecht
parent 1e03e70fac
commit c961e4cc49

View File

@ -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. It will be called during various phases of the guests lifetime.
For an example and documentation see the example script under For an example and documentation see the example script under