diff sqlpyPlus.py @ 84:a7be838c4ad5

fixes to --all
author catherine@cordelia
date Thu, 15 May 2008 17:37:54 -0400
parents 5701fb63e81d
children b336d049cac7
line wrap: on
line diff
--- a/sqlpyPlus.py	Thu May 15 17:28:12 2008 -0400
+++ b/sqlpyPlus.py	Thu May 15 17:37:54 2008 -0400
@@ -740,7 +740,7 @@
 
     @options([make_option('-a','--all',action='store_true',
                           help='Describe all objects (not just my own)')])
-    def do__dir_tables(self, arg):
+    def do__dir_tables(self, arg, opts):
         if opts.all:
             which_view = (', owner', 'all')
         else:
@@ -750,7 +750,7 @@
 
     @options([make_option('-a','--all',action='store_true',
                           help='Describe all objects (not just my own)')])
-    def do__dir_views(self, arg):
+    def do__dir_views(self, arg, opts):
         if opts.all:
             which_view = (', owner', 'all')
         else:
@@ -760,7 +760,7 @@
 
     @options([make_option('-a','--all',action='store_true',
                           help='Describe all objects (not just my own)')])
-    def do__dir_indexes(self, arg):
+    def do__dir_indexes(self, arg, opts):
         if opts.all:
             which_view = (', owner', 'all')
         else: