mercurial/commands.py
changeset 618 4051b78c53c7
parent 617 285965ddca41
child 624 876333a295ff
--- a/mercurial/commands.py	Mon Jul 04 12:39:21 2005 -0800
+++ b/mercurial/commands.py	Mon Jul 04 12:39:35 2005 -0800
@@ -1073,7 +1073,7 @@
     try:
         args = fancyopts.fancyopts(args, globalopts, options)
     except fancyopts.getopt.GetoptError, inst:
-        raise ParseError(cmd, inst)
+        raise ParseError(None, inst)
 
     if options["version"]:
         return ("version", show_version, [], options, cmdoptions)