]> git.proxmox.com Git - pmg-api.git/commit
pmgdb: dump: replace active flag with rules enum
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 27 Feb 2024 14:22:03 +0000 (15:22 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Feb 2024 15:54:41 +0000 (16:54 +0100)
commitca23ef2f445186afcdc248dca1ee45b672a15c25
treebff8a45b316d883fc8a3a501abdfc5036cc107c2
parentf7dbcedf76c213387f425ffe3f9070132a3abe63
pmgdb: dump: replace active flag with rules enum

this addresses the odd/unintuitive behavior of `pmgdb dump --active 0`
which currently prints all rules, why printing only the inactive ones
might be expected.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/CLI/pmgdb.pm