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

feat: -version flag #1036

Merged
merged 1 commit into from
Sep 20, 2019
Merged

feat: -version flag #1036

merged 1 commit into from
Sep 20, 2019

Conversation

sh0rez
Copy link
Member

@sh0rez sh0rez commented Sep 20, 2019

While we were already setting the version on the built binaries, this now also
exposes them as a user-facing flag (-version).

The already used Prometheus package github.com/prometheus/common/version is
used for generated the printed string.

Fixes #1035

While we were already setting the version on the built binaries, this now also
exposes them as a user-facing flag (`-version`).

The already used Prometheus package `github.com/prometheus/common/version` is
used for generated the printed string.
@sh0rez sh0rez added the type/feature Something new we should do label Sep 20, 2019
@sh0rez sh0rez self-assigned this Sep 20, 2019
Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

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

LGTM

@sh0rez sh0rez merged commit 794d7da into grafana:master Sep 20, 2019
cyriltovena pushed a commit to cyriltovena/loki that referenced this pull request Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Something new we should do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add application version fild in --help
2 participants