diff --git a/check_pve.py b/check_pve.py index 321b2e7..5e2a268 100755 --- a/check_pve.py +++ b/check_pve.py @@ -1058,7 +1058,7 @@ def parse_args(self) -> None: message = f"{p.prog}: error: --mode {options.mode} requires node name (--node)" self.output(CheckState.UNKNOWN, message) - if not options.vmid and not options.name and options.mode in ("vm", "vm_status"): + if not options.vmid and not options.name and options.mode in ("vm", "vm_status", "vm-status"): p.print_usage() message = ( f"{p.prog}: error: --mode {options.mode} requires either "