Mercurial > hg > mercurial-source
comparison mercurial/commands.py @ 44053: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 (2019-10-06) |
parents | ce20b870041f |
children | 8cb5f96db235 |
comparison
equal
deleted
inserted
replaced
44052:82879e06c926 | 44053:8d02e3c86815 |
---|---|
3316 (b'u', b'user', None, _(b'list the author (long with -v)')), | 3316 (b'u', b'user', None, _(b'list the author (long with -v)')), |
3317 (b'd', b'date', None, _(b'list the date (short with -q)')), | 3317 (b'd', b'date', None, _(b'list the date (short with -q)')), |
3318 ] | 3318 ] |
3319 + formatteropts | 3319 + formatteropts |
3320 + walkopts, | 3320 + walkopts, |
3321 _(b'[OPTION]... PATTERN [FILE]...'), | 3321 _(b'[--diff] [OPTION]... PATTERN [FILE]...'), |
3322 helpcategory=command.CATEGORY_FILE_CONTENTS, | 3322 helpcategory=command.CATEGORY_FILE_CONTENTS, |
3323 inferrepo=True, | 3323 inferrepo=True, |
3324 intents={INTENT_READONLY}, | 3324 intents={INTENT_READONLY}, |
3325 ) | 3325 ) |
3326 def grep(ui, repo, pattern, *pats, **opts): | 3326 def grep(ui, repo, pattern, *pats, **opts): |