--- a/hgext/record.py
+++ b/hgext/record.py
@@ -371,11 +371,12 @@ def record(ui, repo, *pats, **opts):
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
+++ b/tests/test-record.out
@@ -1,5 +1,5 @@
% help
-hg record [FILE]...
+hg record [OPTION]... [FILE]...
interactively select changes to commit