grep: put --diff in the first line of usage
authorNavaneeth Suresh <navaneeths1998@gmail.com>
Sun, 06 Oct 2019 15:17:34 +0530
changeset 43266 8d02e3c86815
parent 43265 82879e06c926
child 43267 a324f6a0cfd3
grep: put --diff in the first line of usage Differential Revision: https://phab.mercurial-scm.org/D7003
mercurial/commands.py
--- a/mercurial/commands.py	Thu Sep 12 03:40:54 2019 +0200
+++ b/mercurial/commands.py	Sun Oct 06 15:17:34 2019 +0530
@@ -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},