comparison mercurial/commands.py @ 45476: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 e47385ef4e17
children 07c424a13811
comparison
equal deleted inserted replaced
45475:0d119802242b 45476:453bc6ca9ab2
3250 3250
3251 @command( 3251 @command(
3252 b'grep', 3252 b'grep',
3253 [ 3253 [
3254 (b'0', b'print0', None, _(b'end fields with NUL')), 3254 (b'0', b'print0', None, _(b'end fields with NUL')),
3255 (b'', b'all', None, _(b'print all revisions that match (DEPRECATED) ')), 3255 (b'', b'all', None, _(b'an alias to --diff (DEPRECATED)')),
3256 ( 3256 (
3257 b'', 3257 b'',
3258 b'diff', 3258 b'diff',
3259 None, 3259 None,
3260 _( 3260 _(