mercurial/commands.py
changeset 38648 ffd08ec22955
parent 38631 9ef10437bb88
child 38649 0d0f8bd692c4
--- a/mercurial/commands.py	Wed Jul 11 13:48:44 2018 +0200
+++ b/mercurial/commands.py	Wed Jul 11 21:15:52 2018 +0900
@@ -2501,7 +2501,7 @@
     ('n', 'line-number', None, _('print matching line numbers')),
     ('r', 'rev', [],
      _('only search files changed within revision range'), _('REV')),
-    ('', 'allfiles', False,
+    ('', 'all-files', False,
      _('include all files in the changeset while grepping (EXPERIMENTAL)')),
     ('u', 'user', None, _('list the author (long with -v)')),
     ('d', 'date', None, _('list the date (short with -q)')),
@@ -2547,7 +2547,7 @@
 
     if not opts.get('rev') and not diff:
         opts['rev'] = ["wdir()"]
-        opts['allfiles'] = True
+        opts['all_files'] = True
 
     getfile = util.lrucachefunc(repo.file)