Patchwork D8101: help: when possible, indicate flags implied by tweakdefaults

login
register
mail settings
Submitter phabricator
Date Feb. 10, 2020, 10:03 p.m.
Message ID <da924284537b41399aeeedd84fba3417@localhost.localdomain>
Download mbox | patch
Permalink /patch/45089/
State Not Applicable
Headers show

Comments

phabricator - Feb. 10, 2020, 10:03 p.m.
Closed by commit rHG5830efce522b: help: when possible, indicate flags implied by tweakdefaults (authored by valentin.gatienbaron).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8101?vs=20034&id=20064

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8101/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8101

AFFECTED FILES
  mercurial/cmdutil.py
  mercurial/commands.py

CHANGE DETAILS




To: valentin.gatienbaron, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -6646,7 +6646,7 @@ 
         (b'i', b'ignored', None, _(b'show only ignored files')),
         (b'n', b'no-status', None, _(b'hide status prefix')),
         (b't', b'terse', _NOTTERSE, _(b'show the terse output (EXPERIMENTAL)')),
-        (b'C', b'copies', None, _(b'show source of copied files')),
+        (b'C', b'copies', None, _(b'show source of copied files (DEFAULT: ui.statuscopies)')),
         (
             b'0',
             b'print0',
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -209,7 +209,7 @@ 
             b'p',
             b'show-function',
             None,
-            _(b'show which function each change is in'),
+            _(b'show which function each change is in (DEFAULT: diff.showfunc)'),
         ),
         (b'', b'reverse', None, _(b'produce a diff that undoes the changes')),
     ]