Skip to content

bpo-34913: Document gzip command line interface#9782

Merged
JulienPalard merged 3 commits into
python:masterfrom
matrixise:bpo-34913
Oct 10, 2018
Merged

bpo-34913: Document gzip command line interface#9782
JulienPalard merged 3 commits into
python:masterfrom
matrixise:bpo-34913

Conversation

@matrixise

@matrixise matrixise commented Oct 9, 2018

Copy link
Copy Markdown
Member

@tirkarthi tirkarthi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few minor nits. I will leave it to the reviewers to decide upon the wording. Thanks for the PR :)

Comment thread Doc/library/gzip.rst Outdated

Once executed the :mod:`gzip` module keeps the input file(s).

.. versionadded:: 3.8

@tirkarthi tirkarthi Oct 10, 2018

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command line interface was present in previous versions too. Maybe this can be changed to versionchanged to indicate argparse is used instead of manual parsing?

Comment thread Doc/library/gzip.rst Outdated

.. cmdoption:: -d, --decompress

Uncompress the given file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be changed to decompress? I think it's more aligned with the command line argument being --decompress and also with other parts of the doc where decompress is used.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

Comment thread Doc/library/gzip.rst Outdated
----------------------

The :mod:`gzip` module provides a simple command line interface to compress or
uncompress files.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here to use decompress instead of uncompress.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@tirkarthi tirkarthi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for making the changes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants