mercurial/dispatch.py
changeset 9825 0d850f8beea6
parent 9679 a1943c2a4661
child 9875 d6a95c5f6ff9
child 9993 8bce1e0d2801
--- a/mercurial/dispatch.py	Wed Nov 11 00:05:12 2009 +0100
+++ b/mercurial/dispatch.py	Wed Nov 04 13:44:15 2009 -0600
@@ -279,7 +279,8 @@
                 raise IndexError
             ui.setconfig(section, name, value)
         except (IndexError, ValueError):
-            raise util.Abort(_('malformed --config option: %s') % cfg)
+            raise util.Abort(_('malformed --config option: %r '
+                               '(use --config section.name=value)') % cfg)
 
 def _earlygetopt(aliases, args):
     """Return list of values for an option (or aliases).