Skip to content

Commit

Permalink
fix(python/submit): update argparse help info (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snoopy1866 authored Dec 26, 2024
1 parent 6cc63b6 commit 82a4511
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/submit/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ def main() -> None:
default="both",
help="转换模式(默认 both)",
)
parent_parser.add_argument(
"--macro-subs", type=parse_dict, help="宏变量替换,格式为 {key1=value1,key2=value2}(默认无)"
)
parent_parser.add_argument("--macro-subs", type=parse_dict, help="宏变量替换,格式为 {key=value,...}(默认无)")
parent_parser.add_argument("--encoding", default=None, help="编码格式(默认自动检测)")

# 子命令 copyfile
Expand Down

0 comments on commit 82a4511

Please sign in to comment.