cpython (3.5): Fixed hyperlinks for tarfile CLI options.
https://hg.python.org/cpython/rev/a08eeb10d700 changeset: 104875:a08eeb10d700 branch: 3.5 parent: 104872:b51bf32defb1 user: Serhiy Storchaka <storchaka@gmail.com> date: Wed Nov 02 21:04:45 2016 +0200 summary: Fixed hyperlinks for tarfile CLI options. files: Doc/library/tarfile.rst | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -644,13 +644,14 @@ .. _tarfile-commandline: +.. program:: tarfile -Command Line Interface +Command-Line Interface ---------------------- .. versionadded:: 3.4 -The :mod:`tarfile` module provides a simple command line interface to interact +The :mod:`tarfile` module provides a simple command-line interface to interact with tar archives. If you want to create a new tar archive, specify its name after the :option:`-c` @@ -687,7 +688,7 @@ $ python -m tarfile -l monty.tar -Command line options +Command-line options ~~~~~~~~~~~~~~~~~~~~ .. cmdoption:: -l <tarfile> @@ -695,8 +696,8 @@ List files in a tarfile. -.. cmdoption:: -c <tarfile> <source1> <sourceN> - --create <tarfile> <source1> <sourceN> +.. cmdoption:: -c <tarfile> <source1> ... <sourceN> + --create <tarfile> <source1> ... <sourceN> Create tarfile from source files. @@ -712,7 +713,7 @@ .. cmdoption:: -v, --verbose - Verbose output + Verbose output. .. _tar-examples: -- Repository URL: https://hg.python.org/cpython
participants (1)
-
serhiy.storchaka