##// END OF EJS Templates
color: add global option in extsetup() instead of globally...
Brodie Rao -
r12693:33f0682b default
parent child Browse files
Show More
@@ -223,10 +223,11 b' def uisetup(ui):'
223 223 return orig(ui_, opts, cmd, cmdfunc)
224 224 extensions.wrapfunction(dispatch, '_runcommand', colorcmd)
225 225
226 commands.globalopts.append(
227 ('', 'color', 'auto',
228 _("when to colorize (boolean, always, auto, or never)"),
229 _('TYPE')))
226 def extsetup(ui):
227 commands.globalopts.append(
228 ('', 'color', 'auto',
229 _("when to colorize (boolean, always, auto, or never)"),
230 _('TYPE')))
230 231
231 232 try:
232 233 import re, pywintypes, win32console as win32c
General Comments 0
You need to be logged in to leave comments. Login now