--- a/batchquery.py Thu May 31 11:28:41 2012 +0200
+++ b/batchquery.py Mon Jul 09 10:29:47 2012 +0200
@@ -7,7 +7,7 @@
class BatchQueryTool(toolbase.SimpleTool):
def __init__(self):
toolbase.SimpleTool.__init__(self, name='batchquery', desc='Run a query using columns from CSV file as arguments.')
- self.parser.add_argument('--query', dest='query', type=str, help='Query to run. Use %s for arguments, or %(name)s for named arguments (see --names).')
+ self.parser.add_argument('--query', dest='query', type=str, help='Query to run. Use %%s for arguments, or %%(name)s for named arguments (see --header).')
self.parser.add_argument('--file', dest='file', type=str, help='CSV file with data to use as arguments.')
self.parser.add_argument('--init', dest='init', type=str, help='Query which initialize database session (eg. temporary function).')
self.parser.add_argument('--output', dest='output', type=str, help='File name for results.')