##// END OF EJS Templates
compile sub expr in %config for 2.6 compatibility
MinRK -
Show More
@@ -3704,7 +3704,7 b' Defaulting color scheme to \'NoColor\'"""'
3704 cls = c.__class__
3704 cls = c.__class__
3705 help = cls.class_get_help(c)
3705 help = cls.class_get_help(c)
3706 # strip leading '--' from cl-args:
3706 # strip leading '--' from cl-args:
3707 help = re.sub(r'^\-\-', '', help, flags=re.MULTILINE)
3707 help = re.sub(re.compile(r'^--', re.MULTILINE), '', help)
3708 print help
3708 print help
3709 return
3709 return
3710 elif '=' not in line:
3710 elif '=' not in line:
General Comments 0
You need to be logged in to leave comments. Login now