revert: add -a as alias for --all
authorVadim Gelfer <vadim.gelfer@gmail.com>
Mon, 21 Aug 2006 11:05:43 -0700
changeset 2983 3b7626b861f8
parent 2982 890e285c52a1
child 2984 a9d7a43fb3f0
revert: add -a as alias for --all
mercurial/commands.py
--- a/mercurial/commands.py	Mon Aug 21 09:44:52 2006 -0700
+++ b/mercurial/commands.py	Mon Aug 21 11:05:43 2006 -0700
@@ -3049,7 +3049,7 @@
          _('hg rename [OPTION]... SOURCE... DEST')),
     "^revert":
         (revert,
-         [('', 'all', None, _('revert all changes when no arguments given')),
+         [('a', 'all', None, _('revert all changes when no arguments given')),
           ('r', 'rev', '', _('revision to revert to')),
           ('', 'no-backup', None, _('do not save backup copies of files')),
           ('I', 'include', [], _('include names matching given patterns')),