Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/help.py @ 41078:d0c86a7447a6
help: show advanced, experimental and deprecated extensions with --verbose
I noticed that phabricator and absorb weren't showing up, no matter what.
There's a related problem where commands for these extensions *do* show up
without --verbose. I'm not sure what the point of hiding the extensions, but
not the commands is.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 28 Dec 2018 18:14:10 -0500 |
parents | 9afe128f7727 |
children | 3e47d1ec9da5 |
comparison
equal
deleted
inserted
replaced
41077:9afe128f7727 | 41078:d0c86a7447a6 |
---|---|
614 appendcmds(catfns) | 614 appendcmds(catfns) |
615 | 615 |
616 ex = opts.get | 616 ex = opts.get |
617 anyopts = (ex(r'keyword') or not (ex(r'command') or ex(r'extension'))) | 617 anyopts = (ex(r'keyword') or not (ex(r'command') or ex(r'extension'))) |
618 if not name and anyopts: | 618 if not name and anyopts: |
619 exts = listexts(_('enabled extensions:'), extensions.enabled()) | 619 exts = listexts(_('enabled extensions:'), extensions.enabled(), |
620 showdeprecated=ui.verbose) | |
620 if exts: | 621 if exts: |
621 rst.append('\n') | 622 rst.append('\n') |
622 rst.extend(exts) | 623 rst.extend(exts) |
623 | 624 |
624 rst.append(_("\nadditional help topics:\n")) | 625 rst.append(_("\nadditional help topics:\n")) |