##// END OF EJS Templates
help: escape ':' (as '\:') when generating command names...
marmoute -
r47103:4e705cc6 default draft
parent child Browse files
Show More
@@ -829,10 +829,11 b' def help_('
829 829 def appendcmds(cmds):
830 830 cmds = sorted(cmds)
831 831 for c in cmds:
832 display_cmd = c
832 833 if ui.verbose:
833 rst.append(b" :%s: %s\n" % (b', '.join(syns[c]), h[c]))
834 else:
835 rst.append(b' :%s: %s\n' % (c, h[c]))
834 display_cmd = b', '.join(syns[c])
835 display_cmd = display_cmd.replace(b':', br'\:')
836 rst.append(b' :%s: %s\n' % (display_cmd, h[c]))
836 837
837 838 if name in (b'shortlist', b'debug'):
838 839 # List without categories.
General Comments 0
You need to be logged in to leave comments. Login now