@@ -1708,32 +1708,39 @@ msgid ""
1708
1708
" OptionParser's constructor and the :attr:`~Option.help` string passed to "
1709
1709
"every option."
1710
1710
msgstr ""
1711
+ "为当前选项解析器中所有的选项打印完整帮助消息。 该帮助消息是由传给 OptionParser 的构造器的 ``usage`` 字符串和传给每个选项的 "
1712
+ ":attr:`~Option.help` 字符串构造而成的。"
1711
1713
1712
1714
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1233
1713
1715
msgid ""
1714
1716
"If no :attr:`~Option.help` string is supplied for an option, it will still "
1715
1717
"be listed in the help message. To omit an option entirely, use the special "
1716
1718
"value :data:`optparse.SUPPRESS_HELP`."
1717
1719
msgstr ""
1720
+ "如果没有为某个选项提供 :attr:`~Option.help` 字符串,它仍将在帮助消息中列出。 要完全略去某个选项,请使用特殊值 "
1721
+ ":data:`optparse.SUPPRESS_HELP`。"
1718
1722
1719
1723
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1237
1720
1724
msgid ""
1721
1725
":mod:`optparse` automatically adds a :attr:`~Option.help` option to all "
1722
1726
"OptionParsers, so you do not normally need to create one."
1723
1727
msgstr ""
1728
+ ":mod:`optparse` 将自动为所有OptionParser 添加 :attr:`~Option.help` 选项,因此你通常不需要创建选项。"
1724
1729
1725
1730
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1255
1726
1731
msgid ""
1727
1732
"If :mod:`optparse` sees either ``-h`` or ``--help`` on the command line, it "
1728
1733
"will print something like the following help message to stdout (assuming "
1729
1734
"``sys.argv[0]`` is ``\" foo.py\" ``):"
1730
1735
msgstr ""
1736
+ "如果 :mod:`optparse` 在命令行中看到 ``-h`` 或 ``--help``,它将将类似下面这样的帮助消息打印到 stdout (假设 "
1737
+ "``sys.argv[0]`` 为 ``\" foo.py\" ``):"
1731
1738
1732
1739
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1268
1733
1740
msgid ""
1734
1741
"After printing the help message, :mod:`optparse` terminates your process "
1735
1742
"with ``sys.exit(0)``."
1736
- msgstr ""
1743
+ msgstr "在打印帮助消息之后,:mod:`optparse` 将使用 ``sys.exit(0)`` 来终结你的进程。 "
1737
1744
1738
1745
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1271
1739
1746
msgid "``\" version\" ``"