Mercurial > hg
comparison hgext/shelve.py @ 30024:f3c4edfd35e1
help: mark boolean flags with [no-] to explain that they can be negated
That is, help gets tweaked thus:
global options ([+] can be repeated):
-v --[no-]verbose enable additional output
Other proposals have included:
global options ([+] can be repeated, options marked [?] are boolean flags):
-v --verbose[?] enable additional output
and
global options ([+] can be repeated, options marked [^] are boolean flags):
-v --verbose[^] enable additional output
which avoid the unfortunate visual noise in this patch. In this
version's favor, it's consistent with what I'm used to seeing in man
pages and similar documentation venues.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 13 Sep 2016 22:58:12 -0400 |
parents | d5883fd055c6 |
children | c5126aab9c37 819f96b82fa4 |
comparison
equal
deleted
inserted
replaced
30023:ff17dff99295 | 30024:f3c4edfd35e1 |
---|