Don't complain that help is an unknown command
authormpm@selenic.com
Tue, 03 May 2005 18:39:58 -0800
changeset 5 5f249577ac40
parent 4 ce3bd728b858
child 6 207fa2778d65
Don't complain that help is an unknown command
hg
--- a/hg	Tue May 03 18:36:16 2005 -0800
+++ b/hg	Tue May 03 18:39:58 2005 -0800
@@ -233,9 +233,10 @@
                                                            revisions)
     
 else:
+    if cmd != "help":
+        print "unknown command\n"
+
     print """\
-unknown command
-
  commands:
 
  init                  create a new repository in this directory