# HG changeset patch # User catherine@dellzilla # Date 1267640633 18000 # Node ID acba268c93cca0ae8721fea9f28f7c517babed43 # Parent 750da8dd125303903ba5f7526b0c966783ce3e3f clarified do_connect docstring diff -r 750da8dd1253 -r acba268c93cc sqlpython/sqlpython.py --- a/sqlpython/sqlpython.py Tue Mar 02 19:11:52 2010 -0500 +++ b/sqlpython/sqlpython.py Wed Mar 03 13:23:53 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