--- a/mercurial/commands.py Fri Jul 22 09:54:22 2005 +0100
+++ b/mercurial/commands.py Fri Jul 22 15:59:13 2005 +0100
@@ -460,7 +460,7 @@
def commit(ui, repo, *files, **opts):
"""commit the specified files or all outstanding changes"""
- text = opts['text']
+ text = opts['message'] or opts['text']
logfile = opts['logfile']
if not text and logfile:
try:
@@ -1101,7 +1101,7 @@
"^commit|ci":
(commit,
[('A', 'addremove', None, 'run add/remove during commit'),
- ('m', 'text', "", 'commit message'),
+ ('m', 'message', "", 'commit message'),
('t', 'text', "", 'commit message (deprecated: use -m)'),
('l', 'logfile', "", 'commit text file'),
('d', 'date', "", 'date code'),