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

Show flag default for boolean flags in help output #3476

Open
juliusv opened this Issue Nov 14, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@juliusv
Copy link
Member

juliusv commented Nov 14, 2017

./prometheus -h shows boolean flags like this:

      --web.enable-lifecycle     Enable shutdown and reload via HTTP request.
      --web.enable-admin-api     Enables API endpoints for admin control actions.

Without looking at the code, it wasn't clear to me what the default value for those was. It should be clear from the help output.

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