From 4e2b33ebf84c50240db81caec93da084b62d3efe Mon Sep 17 00:00:00 2001 From: elhoim Date: Sun, 30 Aug 2026 23:29:21 +0000 Subject: [PATCH] Fix --show-guesses being silently skipped when --type is given Finding #11 (show-guesses-noop): the --show-guesses display block was nested inside the else: branch of 'if args.attr_type:', so passing --type together with --show-guesses produced no output and no explanation that guessing was bypassed. Add an explicit log() message in the args.attr_type branch so users get feedback that --show-guesses was skipped because --type was explicitly provided, instead of silent no-op behaviour. --- bin/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/cli.py b/bin/cli.py index 92267b1..313e36c 100644 --- a/bin/cli.py +++ b/bin/cli.py @@ -904,6 +904,8 @@ def main() -> int: if args.attr_type: candidate_types = [(args.attr_type, "explicitly provided by user")] + if args.show_guesses: + log("--show-guesses skipped: --type was explicitly provided, so no guessing was performed.") else: candidate_types = guess_attribute_types(args.value, valid_types, supported_input_types)