Only show the fq model name for --models #812

This commit is contained in:
Paul Gauthier 2024-07-12 17:04:59 +01:00
parent 5ccbfd6f3c
commit e92a1a662d
2 changed files with 2 additions and 5 deletions

View file

@ -1,3 +1,3 @@
[flake8]
ignore = E203,W503
ignore = E203,W503,E231
max-line-length = 100

View file

@ -709,10 +709,7 @@ def print_matching_models(io, search):
io.tool_output(f'Models which match "{search}":')
for model in matches:
fq, m = model
if fq == m:
io.tool_output(f"- {m}")
else:
io.tool_output(f"- {m} ({fq})")
io.tool_output(f"- {fq}")
else:
io.tool_output(f'No models match "{search}".')