Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d7a62454
Commit
d7a62454
authored
Nov 02, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed hyperlinks for tarfile CLI options.
parent
4efd2ed4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
Doc/library/tarfile.rst
Doc/library/tarfile.rst
+7
-6
No files found.
Doc/library/tarfile.rst
View file @
d7a62454
...
...
@@ -644,13 +644,14 @@ A :class:`TarInfo` object also provides some convenient query methods:
.. _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 @@ For a list of the files in a tar archive, use the :option:`-l` option:
$ python -m tarfile -l monty.tar
Command
line options
Command
-
line options
~~~~~~~~~~~~~~~~~~~~
.. cmdoption:: -l <tarfile>
...
...
@@ -695,8 +696,8 @@ Command line options
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 @@ Command line options
.. cmdoption:: -v, --verbose
Verbose output
Verbose output
.
.. _tar-examples:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment