Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upGrouping flags in help output #624
Comments
This comment has been minimized.
This comment has been minimized.
|
Unfortunately, the inconsistent flags are coming from glog, so they won't change just because of Prometheus conventions. And changing them just for us doesn't make sense because whoever uses glog in other software should not be surprised here. A structured usage output needs a re-implementation of the |
This comment has been minimized.
This comment has been minimized.
|
So no objections regarding the general idea, I assume? |
This comment has been minimized.
This comment has been minimized.
|
Sounds good. We should just avoid a maintenance nightmare by having to keep a customized usage message up to date. So as long as it still auto-generates the usage message, I'm fine with the above. |
beorn7
closed this
Apr 8, 2015
This comment has been minimized.
This comment has been minimized.
|
FIxed by #627 |
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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. |
fabxc commentedApr 3, 2015
Finding the right flag in
prometheus -his tedious right now. It also doesn't reveal that-config.fileis mandatory and Prometheus panics if cannot find one.Something like below looks way more usable, especially for flags with very long descriptions.
Maybe
-config.fileshould be omittable as well:./prometheus [options ...] <config_file>.