changeset 43266:8d02e3c86815

grep: put --diff in the first line of usage Differential Revision: https://phab.mercurial-scm.org/D7003
author Navaneeth Suresh <navaneeths1998@gmail.com>
date Sun, 06 Oct 2019 15:17:34 +0530
parents 82879e06c926
children a324f6a0cfd3
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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},