mercurial/commands.py
changeset 505 dc1f735dfaac
parent 503 c6a2e41c8c60
child 506 1f81ebff98c9
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -312,7 +312,7 @@ def clone(ui, source, dest = None, **opt
         f.write("[paths]\n")
         f.write("default = %s\n" % source)
 
-        if not opts['no-update']:
+        if not opts['noupdate']:
             update(ui, repo)
 
         success = True
@@ -739,7 +739,7 @@ table = {
                       ('c', 'changeset', None, 'show changeset')],
                      'hg annotate [-u] [-c] [-n] [-r id] [files]'),
     "cat": (cat, [], 'hg cat <file> [rev]'),
-    "clone": (clone, [('U', 'no-update', None, 'skip update after cloning')],
+    "clone": (clone, [('U', 'noupdate', None, 'skip update after cloning')],
               'hg clone [options] <source> [dest]'),
     "commit|ci": (commit,
                   [('t', 'text', "", 'commit text'),