Mercurial > hg
comparison hgext/color.py @ 8894:868670dbc237
extensions: improve the consistency of synopses
Trying as much as possible to consistently:
- use a present tense predicate followed by a direct object
- verb referring directly to the functionality provided
(ie. not "add command that does this" but simple "do that")
- keep simple and to the point, leaving details for the long help
(width is tight, possibly even more so for translations)
Thanks to timeless, Martin Geisler, Rafael Villar Burke, Dan Villiom
Podlaski Christiansen and others for the helpful suggestions.
author | Cédric Duval <cedricduval@free.fr> |
---|---|
date | Mon, 22 Jun 2009 15:48:08 +0200 |
parents | 87c30fb7e8df |
children | 7b3d837ca60e |
comparison
equal
deleted
inserted
replaced
8893:cc0593af30d4 | 8894:868670dbc237 |
---|---|
14 # | 14 # |
15 # You should have received a copy of the GNU General Public License along | 15 # You should have received a copy of the GNU General Public License along |
16 # with this program; if not, write to the Free Software Foundation, Inc., | 16 # with this program; if not, write to the Free Software Foundation, Inc., |
17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
18 | 18 |
19 '''add color output to status, qseries, and diff-related commands | 19 '''colorize output from some commands |
20 | 20 |
21 This extension modifies the status command to add color to its output | 21 This extension modifies the status command to add color to its output |
22 to reflect file status, the qseries command to add color to reflect | 22 to reflect file status, the qseries command to add color to reflect |
23 patch status (applied, unapplied, missing), and to diff-related | 23 patch status (applied, unapplied, missing), and to diff-related |
24 commands to highlight additions, removals, diff headers, and trailing | 24 commands to highlight additions, removals, diff headers, and trailing |