|
From: Bryan O. <oa...@ba...> - 2006-05-30 13:55:44
|
Joe English wrote:
> I can think of a couple solutions: (a) Extend the "-show" option
> with a third option; "-show {tree headings columns}" would be the
> new default value, and "-show tree" (or "-show {tree headings}")
> would hide all columns; or (b) make -displaycolumns have a NULL
> default value, interpret NULL as "show all columns" and the empty
> list as "show no columns".
Brainstorming here...
* make the special case of "-displaycolumns {#0}" mean "only show the
tree column, not the data columns".
* treat {} as null, {<whitespace>} as an empty list. So, I could do
"-displaycolumns { }" to get the empty list.
* allow the special cases of #all to mean "all data columns" and #none
to mean "no data columns". The default of "-display columns {}" is
synonymous with "-displaycolumns #all" for backward compatibility, or it
could be synonymous with "#none" if we can eschew backwards
compatibility if favor of something that seems a tad more logical.
|