##// 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 def appendcmds(cmds):
829 def appendcmds(cmds):
830 cmds = sorted(cmds)
830 cmds = sorted(cmds)
831 for c in cmds:
831 for c in cmds:
832 display_cmd = c
832 if ui.verbose:
833 if ui.verbose:
833 rst.append(b" :%s: %s\n" % (b', '.join(syns[c]), h[c]))
834 display_cmd = b', '.join(syns[c])
834 else:
835 display_cmd = display_cmd.replace(b':', br'\:')
835 rst.append(b' :%s: %s\n' % (c, h[c]))
836 rst.append(b' :%s: %s\n' % (display_cmd, h[c]))
836
837
837 if name in (b'shortlist', b'debug'):
838 if name in (b'shortlist', b'debug'):
838 # List without categories.
839 # List without categories.
General Comments 0
You need to be logged in to leave comments. Login now