equal
deleted
inserted
replaced
1491 if name == "shortlist" and not f.startswith("^"): |
1491 if name == "shortlist" and not f.startswith("^"): |
1492 continue |
1492 continue |
1493 f = f.lstrip("^") |
1493 f = f.lstrip("^") |
1494 if not ui.debugflag and f.startswith("debug"): |
1494 if not ui.debugflag and f.startswith("debug"): |
1495 continue |
1495 continue |
1496 doc = gettext(e[0].__doc__) |
1496 doc = e[0].__doc__ |
|
1497 if doc and 'DEPRECATED' in doc and not ui.verbose: |
|
1498 continue |
|
1499 doc = gettext(doc) |
1497 if not doc: |
1500 if not doc: |
1498 doc = _("(no help text available)") |
1501 doc = _("(no help text available)") |
1499 h[f] = doc.splitlines(0)[0].rstrip() |
1502 h[f] = doc.splitlines(0)[0].rstrip() |
1500 cmds[f] = c.lstrip("^") |
1503 cmds[f] = c.lstrip("^") |
1501 |
1504 |