grep: clarify that --all works exactly the same way as --diff
authorYuya Nishihara <yuya@tcha.org>
Thu, 10 Sep 2020 13:10:53 +0900
changeset 45476 453bc6ca9ab2
parent 45475 0d119802242b
child 45477 20dd2a259b0f
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.
mercurial/commands.py
--- 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',