Update style of record's cmdtable to match mercurial/commands.py
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 01 Aug 2007 10:42:42 +0200
changeset 5040 4f34d9b2568e
parent 5039 c87de77a7d9f
child 5041 49059086c634
Update style of record's cmdtable to match mercurial/commands.py
hgext/record.py
tests/test-record.out
--- a/hgext/record.py	Wed Aug 01 10:33:21 2007 +0200
+++ b/hgext/record.py	Wed Aug 01 10:42:42 2007 +0200
@@ -371,11 +371,12 @@
     return cmdutil.commit(ui, repo, recordfunc, pats, opts)
 
 cmdtable = {
-    'record':
-    (record, [('A', 'addremove', None,
-               _('mark new/missing files as added/removed before committing')),
-              ('d', 'date', '', _('record datecode as commit date')),
-              ('u', 'user', '', _('record user as commiter')),
-              ] + commands.walkopts + commands.commitopts,
-     _('hg record [FILE]...')),
-    }
+    "record":
+        (record,
+         [('A', 'addremove', None,
+           _('mark new/missing files as added/removed before committing')),
+          ('d', 'date', '', _('record datecode as commit date')),
+          ('u', 'user', '', _('record user as commiter')),
+         ] + commands.walkopts + commands.commitopts,
+         _('hg record [OPTION]... [FILE]...')),
+}
--- a/tests/test-record.out	Wed Aug 01 10:33:21 2007 +0200
+++ b/tests/test-record.out	Wed Aug 01 10:42:42 2007 +0200
@@ -1,5 +1,5 @@
 % help
-hg record [FILE]...
+hg record [OPTION]... [FILE]...
 
 interactively select changes to commit