comparison mercurial/commands.py @ 10339:23e608f42f2c

fix spaces/identation issues
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 05 Feb 2010 18:50:08 +0100
parents ec5240a22f4a
children 2e9656d284cc
comparison
equal deleted inserted replaced
10333:b9e44cc97355 10339:23e608f42f2c
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