From 732353fcfffe15d88ea51f8ed9eabeab459ed4fb Mon Sep 17 00:00:00 2001 From: elhoim Date: Mon, 31 Aug 2026 00:09:00 +0000 Subject: [PATCH] fix: render both listings when --list-supported-types and --list-active-modules are combined Previously --list-supported-types returned before --list-active-modules was evaluated, so passing both flags silently produced only the first listing while still exiting 0 as if both had run. Now both listings render in sequence when both flags are given. --- bin/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/cli.py b/bin/cli.py index 92267b1..dfe9ad2 100644 --- a/bin/cli.py +++ b/bin/cli.py @@ -858,7 +858,8 @@ def main() -> int: if args.list_supported_types: list_supported_types(modules, valid_types, verbose=args.verbose_types) - return 0 + if not args.list_active_modules: + return 0 if args.list_active_modules: list_active_modules(modules, valid_types, verbose=args.verbose_types)