Patchwork [1,of,5] color: add basic documentation to 'debugcolor'

login
register
mail settings
Submitter Pierre-Yves David
Date Nov. 3, 2016, 3:56 p.m.
Message ID <eb48068030c410636db6.1478188592@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/17316/
State Accepted
Headers show

Comments

Pierre-Yves David - Nov. 3, 2016, 3:56 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1478178752 -3600
#      Thu Nov 03 14:12:32 2016 +0100
# Node ID eb48068030c410636db6c862921f1c3b3372601d
# Parent  b032a7b676c6637b2ac6f3ef29431013b15a08f9
# EXP-Topic debugcolor
color: add basic documentation to 'debugcolor'

This does not hurt.

Patch

diff --git a/hgext/color.py b/hgext/color.py
--- a/hgext/color.py
+++ b/hgext/color.py
@@ -538,6 +538,7 @@  def extsetup(ui):
 
 @command('debugcolor', [], 'hg debugcolor')
 def debugcolor(ui, repo, **opts):
+    """show available colors and effects"""
     global _styles
     _styles = {}
     for effect in _effects.keys():