Show More
@@ -223,10 +223,11 b' def uisetup(ui):' | |||||
223 | return orig(ui_, opts, cmd, cmdfunc) |
|
223 | return orig(ui_, opts, cmd, cmdfunc) | |
224 | extensions.wrapfunction(dispatch, '_runcommand', colorcmd) |
|
224 | extensions.wrapfunction(dispatch, '_runcommand', colorcmd) | |
225 |
|
225 | |||
226 | commands.globalopts.append( |
|
226 | def extsetup(ui): | |
227 | ('', 'color', 'auto', |
|
227 | commands.globalopts.append( | |
228 | _("when to colorize (boolean, always, auto, or never)"), |
|
228 | ('', 'color', 'auto', | |
229 | _('TYPE'))) |
|
229 | _("when to colorize (boolean, always, auto, or never)"), | |
|
230 | _('TYPE'))) | |||
230 |
|
231 | |||
231 | try: |
|
232 | try: | |
232 | import re, pywintypes, win32console as win32c |
|
233 | import re, pywintypes, win32console as win32c |
General Comments 0
You need to be logged in to leave comments.
Login now