equal
deleted
inserted
replaced
1646 opt_output = [] |
1646 opt_output = [] |
1647 for title, options in option_lists: |
1647 for title, options in option_lists: |
1648 opt_output.append(("\n%s" % title, None)) |
1648 opt_output.append(("\n%s" % title, None)) |
1649 for shortopt, longopt, default, desc in options: |
1649 for shortopt, longopt, default, desc in options: |
1650 if _("DEPRECATED") in desc and not ui.verbose: |
1650 if _("DEPRECATED") in desc and not ui.verbose: |
1651 continue |
1651 continue |
1652 opt_output.append(("%2s%s" % (shortopt and "-%s" % shortopt, |
1652 opt_output.append(("%2s%s" % (shortopt and "-%s" % shortopt, |
1653 longopt and " --%s" % longopt), |
1653 longopt and " --%s" % longopt), |
1654 "%s%s" % (desc, |
1654 "%s%s" % (desc, |
1655 default |
1655 default |
1656 and _(" (default: %s)") % default |
1656 and _(" (default: %s)") % default |