Skip to content

Conversation

@adpaco-aws
Copy link
Contributor

Description of changes:

Prevents printing any items when --quiet is used. One test is included.

Resolved issues:

Resolves #1937
Related #1194

Call-outs:

The if !quiet { ... } block prevents both formatting and printing. The quiet value could be passed down to a print_item function and just avoid printing in that case, but I just went for the simpler solution.

Testing:

  • How is this change tested? Existing tests + new one.

  • Is this a refactor change? No.

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@adpaco-aws adpaco-aws requested a review from a team as a code owner January 26, 2023 20:53
@adpaco-aws adpaco-aws changed the title Stay quiet Prevent printing when --quiet is used Jan 26, 2023
@adpaco-aws adpaco-aws merged commit 454e285 into model-checking:main Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The --quiet option seems broken

3 participants