Patchwork [2,of,3] help: uppercase command placeholder

login
register
mail settings
Submitter Yuya Nishihara
Date Feb. 5, 2017, 10:27 a.m.
Message ID <184a7119f45bc0e9c385.1486290469@mimosa>
Download mbox | patch
Permalink /patch/18329/
State Accepted
Headers show

Comments

Yuya Nishihara - Feb. 5, 2017, 10:27 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1485351340 -32400
#      Wed Jan 25 22:35:40 2017 +0900
# Node ID 184a7119f45bc0e9c3850ca01be27e5265f57346
# Parent  84d52bc1463f12a818494181b9f67b25b6fa645f
help: uppercase command placeholder

'command' isn't a valid help topic but a placeholder text. Make it upper
case to avoid confusion.

Patch

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -14,7 +14,7 @@  applied patches (subset of known patches
 Known patches are represented as patch files in the .hg/patches
 directory. Applied patches are both patch files and changesets.
 
-Common tasks (use :hg:`help command` for more details)::
+Common tasks (use :hg:`help COMMAND` for more details)::
 
   create new patch                          qnew
   import existing patch                     qimport
diff --git a/tests/test-mq.t b/tests/test-mq.t
--- a/tests/test-mq.t
+++ b/tests/test-mq.t
@@ -25,7 +25,7 @@  help
   Known patches are represented as patch files in the .hg/patches directory.
   Applied patches are both patch files and changesets.
   
-  Common tasks (use 'hg help command' for more details):
+  Common tasks (use 'hg help COMMAND' for more details):
   
     create new patch                          qnew
     import existing patch                     qimport