equal
deleted
inserted
replaced
1602 # list all option lists |
1602 # list all option lists |
1603 opt_output = [] |
1603 opt_output = [] |
1604 for title, options in option_lists: |
1604 for title, options in option_lists: |
1605 opt_output.append(("\n%s" % title, None)) |
1605 opt_output.append(("\n%s" % title, None)) |
1606 for shortopt, longopt, default, desc in options: |
1606 for shortopt, longopt, default, desc in options: |
1607 if "DEPRECATED" in desc and not ui.verbose: continue |
1607 if _("DEPRECATED") in desc and not ui.verbose: continue |
1608 opt_output.append(("%2s%s" % (shortopt and "-%s" % shortopt, |
1608 opt_output.append(("%2s%s" % (shortopt and "-%s" % shortopt, |
1609 longopt and " --%s" % longopt), |
1609 longopt and " --%s" % longopt), |
1610 "%s%s" % (desc, |
1610 "%s%s" % (desc, |
1611 default |
1611 default |
1612 and _(" (default: %s)") % default |
1612 and _(" (default: %s)") % default |