[pmg-devel] applied: [PATCH pmg-api] pmgdb: dump: replace active flag with rules enum
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Feb 27 17:01:40 CET 2024
Am 27/02/2024 um 15:22 schrieb Stoiko Ivanov:
> 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 at proxmox.com>
> ---
> tested by running all 4 variants (active, inactive, all, no rule argument)
> and diffing the resulting output)
> src/PMG/CLI/pmgdb.pm | 18 +++++++++++-------
> 1 file changed, 11 insertions(+), 7 deletions(-)
>
>
While I shortly thought if another option name would be better (e.g.,
rule-selection?), this is mostly for debugging purpose, so I think it
won't matter much anyway.
applied, thanks!
More information about the pmg-devel
mailing list