D5444: help: use "yes" and "no" for boolean defaults instead of "on" and "off"

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Sat Dec 15 13:03:35 EST 2018


av6 added a comment.


  The point of https://phab.mercurial-scm.org/D5430 was to make hg help output more human friendly by replacing `True` and `False` with something less Python-related. In other words, more human-friendly. "Yes" and "no" are way more human-friendly:
  
  - they are one of the most used words, so people naturally expect to see them, and can tell them apart from just "y" or "n" (they are also less ambiguous themselves — just look up how many meanings "on" or "off" has and how many parts of speech can they be),
  - they also work perfectly fine as answers to the flag descriptions (Consider hidden changesets? Yes, please. No, thanks.),
  - and "no" (more precisely, "no-") is the very same thing that users should add to the flags to negate them (not "--off-hidden").

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5444

To: av6, durin42, #hg-reviewers
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list