Make print_version consistent

This commit is contained in:
Alexandre 'Kidev' Poumaroux
2025-04-20 01:09:11 +02:00
parent c67bece924
commit 2072542a88

View File

@@ -1016,7 +1016,7 @@ class Cli:
help="Search terms (all non-option arguments are treated as search terms)", help="Search terms (all non-option arguments are treated as search terms)",
) )
def run_list_qt_commercial(self, args: ListArgumentParser, print_version: bool = True) -> None: def run_list_qt_commercial(self, args: ListArgumentParser, print_version: Optional[bool] = True) -> None:
"""Execute Qt commercial package listing.""" """Execute Qt commercial package listing."""
if print_version: if print_version:
self.show_aqt_version() self.show_aqt_version()