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

navaneeth.suresh (Navaneeth Suresh) phabricator at mercurial-scm.org
Wed Oct 16 17:06:03 EDT 2019


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

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},



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


More information about the Mercurial-devel mailing list