File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -925,10 +925,13 @@ msgid ""
925
925
" it encounters this option on the command line, it expands your ``version`` "
926
926
"string (by replacing ``%prog``), prints it to stdout, and exits."
927
927
msgstr ""
928
+ "``%prog`` 会像在 ``usage`` 中那样被扩展。 除了这一点,``version`` 还可包含你想存放的任何东西。 "
929
+ "当你提供它时,:mod:`optparse` 将自动向你的解析器添加一个 ``--version`` 选项。 如果它在命令行中遇到了该选项,它将扩展你的"
930
+ " ``version`` 字符串 (通过替换 ``%prog``),将其打印到标准输出,然后退出。"
928
931
929
932
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:681
930
933
msgid "For example, if your script is called ``/usr/bin/foo``:"
931
- msgstr ""
934
+ msgstr "举例来说,如果你的脚本是 ``/usr/bin/foo``: "
932
935
933
936
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:688
934
937
msgid ""
You can’t perform that action at this time.
0 commit comments