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

login
register
mail settings
Submitter phabricator
Date Oct. 12, 2019, 8:50 p.m.
Message ID <7aa1dd63066b39a30362001331c58491@localhost.localdomain>
Download mbox | patch
Permalink /patch/42277/
State Not Applicable
Headers show

Comments

phabricator - Oct. 12, 2019, 8:50 p.m.
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

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
@@ -2729,7 +2729,7 @@ 
     ('u', 'user', None, _('list the author (long with -v)')),
     ('d', 'date', None, _('list the date (short with -q)')),
     ] + formatteropts + walkopts,
-    _('[OPTION]... PATTERN [FILE]...'),
+    _('--diff [OPTION] ... PATTERN [FILE]...'),
     helpcategory=command.CATEGORY_FILE_CONTENTS,
     inferrepo=True,
     intents={INTENT_READONLY})