File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -644,13 +644,14 @@ A :class:`TarInfo` object also provides some convenient query methods:
644644
645645
646646.. _tarfile-commandline :
647+ .. program :: tarfile
647648
648- Command Line Interface
649+ Command- Line Interface
649650----------------------
650651
651652.. versionadded :: 3.4
652653
653- The :mod: `tarfile ` module provides a simple command line interface to interact
654+ The :mod: `tarfile ` module provides a simple command- line interface to interact
654655with tar archives.
655656
656657If you want to create a new tar archive, specify its name after the :option: `-c `
@@ -687,16 +688,16 @@ For a list of the files in a tar archive, use the :option:`-l` option:
687688 $ python -m tarfile -l monty.tar
688689
689690
690- Command line options
691+ Command- line options
691692~~~~~~~~~~~~~~~~~~~~
692693
693694.. cmdoption :: -l <tarfile>
694695 --list <tarfile>
695696
696697 List files in a tarfile.
697698
698- .. cmdoption :: -c <tarfile> <source1> <sourceN>
699- --create <tarfile> <source1> <sourceN>
699+ .. cmdoption :: -c <tarfile> <source1> ... <sourceN>
700+ --create <tarfile> <source1> ... <sourceN>
700701
701702 Create tarfile from source files.
702703
@@ -712,7 +713,7 @@ Command line options
712713
713714.. cmdoption :: -v, --verbose
714715
715- Verbose output
716+ Verbose output.
716717
717718.. _tar-examples :
718719
You can’t perform that action at this time.
0 commit comments