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

login
register
mail settings
Submitter phabricator
Date Feb. 10, 2020, 12:12 a.m.
Message ID <differential-rev-PHID-DREV-ivawj4ixbxia6mwdmyhf-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/45057/
State Superseded
Headers show

Comments

phabricator - Feb. 10, 2020, 12:12 a.m.
valentin.gatienbaron created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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')),
     ]