From c0527d94284073eaa3ad2f52de55e0ca58c9472c Mon Sep 17 00:00:00 2001 From: Nicholas Junge Date: Mon, 6 Jan 2025 19:56:32 +0100 Subject: [PATCH] Make `--verbose` imply `--summary` on the command line This is more in line with user expectations, and results in tables being rendered when invoking `abi3audit -v`, even without `--summary`. `--summary` behavior itself is unchanged, as is the rendering algorithm. --- abi3audit/_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abi3audit/_cli.py b/abi3audit/_cli.py index 2fcd13f..bbf86bd 100644 --- a/abi3audit/_cli.py +++ b/abi3audit/_cli.py @@ -267,7 +267,7 @@ def main() -> None: if not result and args.verbose: console.log(result) - log_message = results.summarize_extraction(extractor, args.summary) + log_message = results.summarize_extraction(extractor, args.summary or args.verbose) if log_message: console.log(log_message)