changeset 471:dfe5a19e7390

merged tag 1.7.1
author catherine@Drou
date Wed, 03 Mar 2010 13:25:43 -0500
parents d0164c122938 (current diff) a40993ec8995 (diff)
children 9f58d8f807d3
files
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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