Skip to content

Fix version flag #494

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

Merged
merged 1 commit into from
Mar 3, 2021
Merged

Fix version flag #494

merged 1 commit into from
Mar 3, 2021

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Mar 3, 2021

Use Prometheus common/version to print --version output.

  • Add -h short help flag.

Fixes: #492

Signed-off-by: Ben Kochie [email protected]

@SuperQ SuperQ requested a review from roidelapluie March 3, 2021 09:31
@roidelapluie
Copy link

Should we log to stderrr et help to stdout, like prometheus?

@SuperQ SuperQ closed this Mar 3, 2021
@SuperQ SuperQ deleted the superq/version_info branch March 3, 2021 12:20
@SuperQ SuperQ restored the superq/version_info branch March 3, 2021 12:29
@SuperQ SuperQ reopened this Mar 3, 2021
@SuperQ SuperQ force-pushed the superq/version_info branch from 3601f30 to 4042410 Compare March 3, 2021 12:31
Use Prometheus common/version to print --version output.
* Add `-h` short help flag.

Fixes: #492

Signed-off-by: Ben Kochie <[email protected]>
@SuperQ SuperQ force-pushed the superq/version_info branch from 4042410 to a7e88ab Compare March 3, 2021 12:51
@SuperQ SuperQ merged commit 5c660ba into master Mar 3, 2021
@SuperQ SuperQ deleted the superq/version_info branch March 3, 2021 17:01
ritbl pushed a commit to heniek/postgres_exporter that referenced this pull request Mar 19, 2023
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.

Wrong versioning in new release (0.9)
2 participants