feat: Rename --yes to --yes-always and update config file syntax

This commit is contained in:
Paul Gauthier 2024-10-02 10:55:59 -07:00 committed by Paul Gauthier (aider)
parent d4fe0b18ad
commit 99c3a1ec7f
8 changed files with 62 additions and 18 deletions

View file

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