If we no longer show the "[no-]" for default-off flags, it also seems
unnecessary to show the "default: off" for them, since that's quite
clearly the default. It's extra confusing for action flags like `hg
bookmarks --delete`.
Details
Details
- Reviewers
durin42 av6 - Group Reviewers
hg-reviewers - Commits
- rHGe8e2a7656e83: help: hide default value for default-off flags
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
These look good. One more thing I want to mention: hg help evolve looks like this:
--phase-divergent solves only phase-divergent changesets --content-divergent solves only content-divergent changesets --orphan solves only orphan changesets (default) -a --all evolve all troubled changesets related to the current working directory and its descendants --[no-]update update to the head of evolved changesets (default: on)
--orphan line ends with (default), it's obviously just a part of the flag description, but it doesn't look too bad. I don't know if we'll end up showing "default: off" for boolean flags, but if not, then just showing (default) instead of (default: on) is an option.