equal
deleted
inserted
replaced
561 # list all option lists |
561 # list all option lists |
562 opt_output = [] |
562 opt_output = [] |
563 for title, options in option_lists: |
563 for title, options in option_lists: |
564 opt_output.append(("\n%s:\n" % title, None)) |
564 opt_output.append(("\n%s:\n" % title, None)) |
565 for shortopt, longopt, default, desc in options: |
565 for shortopt, longopt, default, desc in options: |
|
566 if "DEPRECATED" in desc and not ui.verbose: continue |
566 opt_output.append(("%2s%s" % (shortopt and "-%s" % shortopt, |
567 opt_output.append(("%2s%s" % (shortopt and "-%s" % shortopt, |
567 longopt and " --%s" % longopt), |
568 longopt and " --%s" % longopt), |
568 "%s%s" % (desc, |
569 "%s%s" % (desc, |
569 default |
570 default |
570 and _(" (default: %s)") % default |
571 and _(" (default: %s)") % default |