Closed by commit rHG0b8b7905f239: grep: put --diff in the first line of usage
(authored by navaneeth.suresh).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs
Review".
CHANGED PRIOR TO COMMIT
http
navaneeth.suresh updated this revision to Diff 17117.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7003?vs=16916&id=17117
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7003/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7003
AFFEC
marmoute added a comment.
This does not seems to be the first line you are looking for. The first line
we are looking for is the `usage:` line. It is defined lower in the decorator :
_(b'[OPTION]... PATTERN [FILE]...'),
We need to gain a `[--diff]` here.
REPOSITORY
rHG Mercurial
navaneeth.suresh created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D7003
AFFECTED FILES
mercurial/commands.py
tests/test-completion.t
CHANGE DETAILS
diff --gi