Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print version to stdout when -version flag is used #662

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

ethanmdavidson
Copy link
Contributor

otherwise, print it to stderr as normal.

fixes #646

otherwise, print it to stderr as normal
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1578

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.09%

Totals Coverage Status
Change from base Build 1576: 0.0%
Covered Lines: 1793
Relevant Lines: 1947

💛 - Coveralls

@codecov
Copy link

codecov bot commented Jun 14, 2022

Codecov Report

Merging #662 (20f47e4) into master (3a74303) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #662   +/-   ##
=======================================
  Coverage   88.15%   88.15%           
=======================================
  Files          16       16           
  Lines        1941     1941           
=======================================
  Hits         1711     1711           
  Misses        154      154           
  Partials       76       76           

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@oliver006
Copy link
Owner

Thank you!

@oliver006 oliver006 merged commit be3ea8e into oliver006:master Jun 14, 2022
@oliver006
Copy link
Owner

Released as https://github.com/oliver006/redis_exporter/releases/tag/v1.41.0

@ethanmdavidson ethanmdavidson deleted the log-version-to-stdout branch June 15, 2022 01:09
@nkn1111
Copy link

nkn1111 commented Jun 17, 2022

Thank you so much @ethanmdavidson @oliver006

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The output for version flag is printed on stderr
4 participants