On 2/1/21 11:47 AM, Thomas Lamprecht wrote:
but this is a style fix only, or? As a single minus always works for options
in CLIHandler based executables (we have no short-opts there).
yes it is basically a style fix. It works with one dash. What does not work
with one dash though (tested quickly) is the auto completion of the parameter.
On 01.02.21 11:06, Aaron Lauterer wrote:
Signed-off-by: Aaron Lauterer <a.laute...@proxmox.com>
---
qm.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qm.adoc b/qm.adoc
index 333b2e6..e0cce2b 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -1333,7 +1333,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
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel