We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentc82b1d9 commit3178edbCopy full SHA for 3178edb
library/optparse.po
@@ -925,10 +925,13 @@ msgid ""
925
" it encounters this option on the command line, it expands your ``version`` "
926
"string (by replacing ``%prog``), prints it to stdout, and exits."
927
msgstr""
928
+"``%prog`` 会像在 ``usage`` 中那样被扩展。 除了这一点,``version`` 还可包含你想存放的任何东西。 "
929
+"当你提供它时,:mod:`optparse` 将自动向你的解析器添加一个 ``--version`` 选项。 如果它在命令行中遇到了该选项,它将扩展你的"
930
+" ``version`` 字符串 (通过替换 ``%prog``),将其打印到标准输出,然后退出。"
931
932
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:681
933
msgid"For example, if your script is called ``/usr/bin/foo``:"
-msgstr""
934
+msgstr"举例来说,如果你的脚本是 ``/usr/bin/foo``:"
935
936
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:688
937
msgid""