Former-commit-id: d7547d6b9e4c660897e3ce0f4022e08686c172d5
This commit is contained in:
hiyouga
2024-07-13 22:07:58 +08:00
parent 27e13a8371
commit dfc7a7d5cd
4 changed files with 10 additions and 10 deletions

View File

@@ -117,6 +117,7 @@ def gen_cmd(args: Dict[str, Any]) -> str:
cmd_text = "`\n".join(cmd_lines)
else:
cmd_text = "\\\n".join(cmd_lines)
cmd_text = "```bash\n{}\n```".format(cmd_text)
return cmd_text