[rhmessaging-commits] rhmessaging commits: r1703 - mgmt/cumin/bin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Mon Feb 18 16:26:00 EST 2008


Author: justi9
Date: 2008-02-18 16:26:00 -0500 (Mon, 18 Feb 2008)
New Revision: 1703

Modified:
   mgmt/cumin/bin/cumin-database
Log:
Clarify in printed messages that "--force yes" is required, not just
--force.



Modified: mgmt/cumin/bin/cumin-database
===================================================================
--- mgmt/cumin/bin/cumin-database	2008-02-18 21:18:21 UTC (rev 1702)
+++ mgmt/cumin/bin/cumin-database	2008-02-18 21:26:00 UTC (rev 1703)
@@ -13,7 +13,7 @@
     -h, --help            Print this message
     --data URL            Connect to database at URL
                           (default postgesql://cumin@localhost/cumin)
-    --force               Don't complain and just do it
+    --force yes           Don't complain and just do it
 Commands:
     create-schema         Create the database schema; requires --force
     drop-schema           Drop the database schema; requires --force
@@ -68,13 +68,13 @@
 
             database.createSchema((main, indexes))
         else:
-            print "Command create-schema requires --force"
+            print "Command create-schema requires --force yes"
             sys.exit(1)
     elif command == "drop-schema":
         if force:
             database.dropSchema()
         else:
-            print "Command create-schema requires --force"
+            print "Command create-schema requires --force yes"
             sys.exit(1)
     else:
         print "Error: command '%s' not recognized" % command




More information about the rhmessaging-commits mailing list