fix: Remove f-string prefix from line without placeholders

This commit is contained in:
Paul Gauthier (aider) 2024-09-11 14:01:15 -07:00
parent 1603ffa6c2
commit 05b3b3df88

View file

@ -146,7 +146,7 @@ class YamlHelpFormatter(argparse.HelpFormatter):
parts.append(f"#{switch}: {default}\n")
elif action.nargs in ("*", "+") or isinstance(action, argparse._AppendAction):
parts.append(f"#{switch}: xxx")
parts.append(f"## Specify multiple values like this:")
parts.append("## Specify multiple values like this:")
parts.append(f"#{switch}: [xxx,yyyy,zzz]\n")
else:
parts.append(f"#{switch}: xxx\n")