# HG changeset patch # User Navaneeth Suresh # Date 1570355254 -19800 # Node ID 8d02e3c86815ac25ad396f5d415c8c90893d0686 # Parent 82879e06c92649a8e59ae8576a9e34a1ebb9ea48 grep: put --diff in the first line of usage Differential Revision: https://phab.mercurial-scm.org/D7003 diff -r 82879e06c926 -r 8d02e3c86815 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},