Mercurial > sqlpython
diff sqlpyPlus.py @ 58:de6278a3bf53
adding compare help
author | catherine@cordelia |
---|---|
date | Wed, 02 Apr 2008 21:29:36 -0400 |
parents | 4931f32c8ff5 |
children | 4f80329a1905 1eefe17b3630 |
line wrap: on
line diff
--- a/sqlpyPlus.py Wed Apr 02 20:55:23 2008 -0400 +++ b/sqlpyPlus.py Wed Apr 02 21:29:36 2008 -0400 @@ -382,7 +382,7 @@ """Lists available first-character shortcuts (i.e. '!dir' is equivalent to 'shell dir')""" for (scchar, scto) in self.shortcuts.items(): - self.stdout.write('%s: %s\n') % (scchar, scto) + print '%s: %s' % (scchar, scto) def colnames(self): return [d[0] for d in curs.description] @@ -649,7 +649,9 @@ def do_compare(self, args): """COMPARE query1 TO query2 - uses external tool to display differences. - Sorting is recommended to avoid false hits.""" + Sorting is recommended to avoid false hits. + Will attempt to use a graphical diff/merge tool like kdiff3, meld, or Araxis Merge, + if they are installed.""" fnames = [] args2 = args.split(' to ') for n in range(len(args2)):