mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
fix: Update sample.aider.conf.yml and args_formatter.py
This commit is contained in:
parent
615dc5fe4b
commit
1603ffa6c2
3 changed files with 71 additions and 55 deletions
|
@ -144,8 +144,12 @@ class YamlHelpFormatter(argparse.HelpFormatter):
|
|||
|
||||
if default:
|
||||
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(f"#{switch}: [xxx,yyyy,zzz]\n")
|
||||
else:
|
||||
parts.append(f"#{switch}:\n")
|
||||
parts.append(f"#{switch}: xxx\n")
|
||||
|
||||
###
|
||||
# parts.append(str(action))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue