enhance --select, add --no-header option

This commit is contained in:
Christophe Benz 2010-07-10 03:27:41 +02:00
commit e4b789d340
6 changed files with 33 additions and 22 deletions

View file

@ -42,7 +42,7 @@ class TableFormatter(IFormatter):
if self.column_headers is None:
return None
s = ''
if self.header:
if self.display_header and self.header:
if self.result_funcname == 'get_string':
s += self.header
elif self.result_funcname == 'get_html_string':