changeset 45487:453bc6ca9ab2

grep: clarify that --all works exactly the same way as --diff 7fbb5d76c555 "grep: add --diff flag" says as such, but the help strings have diverged since, and it's getting fuzzier what this --all will do.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 10 Sep 2020 13:10:53 +0900
parents 0d119802242b
children 20dd2a259b0f
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Sep 17 15:34:13 2020 +0200
+++ b/mercurial/commands.py	Thu Sep 10 13:10:53 2020 +0900
@@ -3252,7 +3252,7 @@
     b'grep',
     [
         (b'0', b'print0', None, _(b'end fields with NUL')),
-        (b'', b'all', None, _(b'print all revisions that match (DEPRECATED) ')),
+        (b'', b'all', None, _(b'an alias to --diff (DEPRECATED)')),
         (
             b'',
             b'diff',