Skip to content

fix prog arg to return correct version#1276

Merged
asottile merged 2 commits intopre-commit:masterfrom
orcutt989:issue-#1273
Jan 11, 2020
Merged

fix prog arg to return correct version#1276
asottile merged 2 commits intopre-commit:masterfrom
orcutt989:issue-#1273

Conversation

@orcutt989
Copy link
Copy Markdown
Contributor

@orcutt989 orcutt989 commented Jan 10, 2020

See issue #1273

Fixes output when running --version.

Before

python -m pre_commit --version
__main__.py 1.20.0

After

python -m pre_commit --version
pre-commit 1.21.0

Comment thread pre_commit/main.py Outdated
Copy link
Copy Markdown
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

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

thanks!

@asottile asottile merged commit 764c765 into pre-commit:master Jan 11, 2020
@asottile
Copy link
Copy Markdown
Member

by the way, if you put "Closes #...." in your PR description, it will be auto closed when the PR is merged

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants