Former-commit-id: 6b48308ef9
This commit is contained in:
hiyouga
2024-07-13 22:07:58 +08:00
parent f616fd61bd
commit 3baf1d1f7e
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