Skip to content

Commit

Permalink
Make --verbose imply --summary on the command line
Browse files Browse the repository at this point in the history
This is more in line with user expectations, and results in tables being
rendered when invoking `abi3audit <spec> -v`, even without `--summary`.

`--summary` behavior itself is unchanged, as is the rendering algorithm.
  • Loading branch information
nicholasjng committed Jan 6, 2025
1 parent cd1bf56 commit c0527d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abi3audit/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c0527d9

Please sign in to comment.