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

version flags #2252

Closed
joker234 opened this Issue Dec 5, 2016 · 5 comments

Comments

Projects
None yet
2 participants
@joker234
Copy link

joker234 commented Dec 5, 2016

prometheus and promtool should have the same version flag for showing the version number:

prometheus -version
promtool version

Maybe one can add promtool -version as additional possibility.

@gouthamve

This comment has been minimized.

Copy link
Member

gouthamve commented Jul 11, 2017

With the move to kingpin, promtool now uses a version flag:

➜  prometheus git:(integ-play) ✗ ./promtool --version
promtool, version  (branch: , revision: )
  build user:
  build date:
  go version:       go1.8.3

@gouthamve gouthamve closed this Jul 11, 2017

@joker234

This comment has been minimized.

Copy link
Author

joker234 commented Jul 11, 2017

This doesn't really resolve the issue. Now we still have different version flags for prometheus and promtool. -version and --version.

@gouthamve

This comment has been minimized.

Copy link
Member

gouthamve commented Jul 11, 2017

Oh no, so even prometheus moved to -- in 2.0. See: https://prometheus.io/blog/2017/06/21/prometheus-20-alpha3-new-rule-format/

@joker234

This comment has been minimized.

Copy link
Author

joker234 commented Jul 11, 2017

ah I see. Thx.

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.