# HG changeset patch # User catherine@Drou # Date 1267640743 18000 # Node ID dfe5a19e73902d967057e43a03b57292cb48d5eb # Parent d0164c122938882c4db919a28a907654ec298ddf# Parent a40993ec89957d1d5ff782419882a5a21a81e50b merged tag 1.7.1 diff -r d0164c122938 -r dfe5a19e7390 .hgtags --- a/.hgtags Wed Mar 03 09:38:12 2010 -0500 +++ b/.hgtags Wed Mar 03 13:25:43 2010 -0500 @@ -17,3 +17,4 @@ 477f0bf652b2f754dd72671e04460f7f2743eae4 1.6.7 9fc0da48b2c41576c7ab40a3260988ce1d7919da 1.6.8 77ec18c38ff8c10453ca904dd01974d7e2cd7391 1.7.0 +acba268c93cca0ae8721fea9f28f7c517babed43 1.7.1 diff -r d0164c122938 -r dfe5a19e7390 sqlpython/sqlpython.py --- a/sqlpython/sqlpython.py Wed Mar 03 09:38:12 2010 -0500 +++ b/sqlpython/sqlpython.py Wed Mar 03 13:25:43 2010 -0500 @@ -131,7 +131,13 @@ help='Database user name to connect as')]) def do_connect(self, arg, opts): - '''Opens the DB connection''' + '''Opens the DB connection. Some sample valid connection strings: + + connect oracle://user:password@SID + connect postgres://user:password@hostname/dbname + connect user/password@SID (Oracle is the default RDBMS target) + connect --postgres --hostname=hostname dbname username + connect --mysql dbname username''' if opts.closeall: self.closeall() return