Patchwork Updated help usage string

login
register
mail settings
Submitter Arne Babenhauserheide
Date May 9, 2014, 10:39 a.m.
Message ID <c126c9f94f496a11b993.1399631952@imkpcghg.imk-asf.kit.edu>
Download mbox | patch
Permalink /patch/4697/
State Changes Requested
Headers show

Comments

Arne Babenhauserheide - May 9, 2014, 10:39 a.m.
# HG changeset patch
# User Arne Babenhauserheide <arne.babenhauserheide@kit.edu>
# Date 1399631616 -7200
#      Fri May 09 12:33:36 2014 +0200
# Node ID c126c9f94f496a11b993052f9b42d3a358525abf
# Parent  62a2749895e4151f766a4243fa870b1ddd7386d0
Updated help usage string.
Pierre-Yves David - May 9, 2014, 5:28 p.m.
On 05/09/2014 03:39 AM, Arne Babenhauserheide wrote:
> # HG changeset patch
> # User Arne Babenhauserheide <arne.babenhauserheide@kit.edu>
> # Date 1399631616 -7200
> #      Fri May 09 12:33:36 2014 +0200
> # Node ID c126c9f94f496a11b993052f9b42d3a358525abf
> # Parent  62a2749895e4151f766a4243fa870b1ddd7386d0
> Updated help usage string.

Please conforms this message to the standard defined here:

    http://mercurial.selenic.com/wiki/ContributingChanges

Amnd make it a bit more verbose.


> diff -r 62a2749895e4 -r c126c9f94f49 mercurial/commands.py
> --- a/mercurial/commands.py	Wed May 07 17:58:13 2014 -0500
> +++ b/mercurial/commands.py	Fri May 09 12:33:36 2014 +0200

consider adding diff.showfunc=True in your hgrc

Patch

diff -r 62a2749895e4 -r c126c9f94f49 mercurial/commands.py
--- a/mercurial/commands.py	Wed May 07 17:58:13 2014 -0500
+++ b/mercurial/commands.py	Fri May 09 12:33:36 2014 +0200
@@ -3516,7 +3516,7 @@ 
      ('c', 'command', None, _('show only help for commands')),
      ('k', 'keyword', '', _('show topics matching keyword')),
      ],
-    _('[-ec] [TOPIC]'))
+    _('[OPTIONS] [TOPIC]'))
 def help_(ui, name=None, **opts):
     """show help for a given topic or a help overview