This is an archive of the discontinued Mercurial Phabricator instance.

grep: put --diff in the first line of usage

Authored by navaneeth.suresh on Oct 6 2019, 3:21 PM.

Diff Detail

rHG Mercurial
Lint Skipped
Unit Tests Skipped

Event Timeline

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.

marmoute requested changes to this revision.Oct 7 2019, 9:00 PM
This revision now requires changes to proceed.Oct 7 2019, 9:00 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.