r7455 - dumbhippo/trunk/tools



Author: walters
Date: 2008-04-25 16:07:48 -0500 (Fri, 25 Apr 2008)
New Revision: 7455

Modified:
   dumbhippo/trunk/tools/dappinfo
Log:
Better error handling


Modified: dumbhippo/trunk/tools/dappinfo
===================================================================
--- dumbhippo/trunk/tools/dappinfo	2008-04-25 17:08:51 UTC (rev 7454)
+++ dumbhippo/trunk/tools/dappinfo	2008-04-25 21:07:48 UTC (rev 7455)
@@ -560,6 +560,8 @@
         cmd_setdesktop(args)
     elif sys.argv[1] == "upload":
         cmd_upload(args)
+    else:
+        print >>sys.stderr, "Unknown command %s" % (sys.argv[1],)
 except HumanVisibleException, e:
     print >>sys.stderr, "dappinfo: " + e.__str__()
     sys.exit(1)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]