Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Consolidate enable/disable help together to get a more concise help output #1613
There is a huge amount of output to go through in the stack help. It is hard to navigate unless you are intimately familiar with it. Someone new to stack might find it intimidating. Here is a sample output:
We can do better by making it more concise.
This will reduce the 29 items of options help to 22:
Not sure if this will require changes to optparse.
See also #1333 for a related issue to reduce the amount of help output.
I did some work in this direction a while ago to try to only have to show the non-default option but hit a snag: we currently have to parse the command-line before reading the config file, but we don't know the defaults until the config file has been read. It may be possible to find a way around that and get this working (related: #893).
Another approach could be to make these options look like:
I think we'd have to make the real
A pull request would be welcome.