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

login
register
mail settings
Submitter phabricator
Date Oct. 16, 2019, 9:06 p.m.
Message ID <e1847eb51a3ac0daff37ed0b20c3b74a@localhost.localdomain>
Download mbox | patch
Permalink /patch/42430/
State Not Applicable
Headers show

Comments

phabricator - Oct. 16, 2019, 9:06 p.m.
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
  https://phab.mercurial-scm.org/D7003?vs=17117&id=17262#toc

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7003?vs=17117&id=17262

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7003/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7003

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




To: navaneeth.suresh, #hg-reviewers, marmoute
Cc: marmoute, mercurial-devel

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3318,7 +3318,7 @@ 
     ]
     + formatteropts
     + walkopts,
-    _(b'[OPTION]... PATTERN [FILE]...'),
+    _(b'[--diff] [OPTION]... PATTERN [FILE]...'),
     helpcategory=command.CATEGORY_FILE_CONTENTS,
     inferrepo=True,
     intents={INTENT_READONLY},