Page MenuHomePhabricator

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

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

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.