Added the nopredefs option.
1 parent 785662e commit 6d39ed9d9a4e41c8b3d9c3c30bb6873538122de4
@tundra tundra authored on 27 Apr 2004
Showing 1 changed file
View
15
test-tc.1
Test driver to exercise the \fCtconfpy\fP Python module.
 
 
.SH SYNOPSIS
test-tc.py [symtbl] [nonewvars] [templates] [temponly] [limitns] [litvars] [debug] cfgfile, cfgfile, ...
test-tc.py [symtbl] [nonewvars] [templates] [temponly] [limitns] [litvars] [nopredefs] [debug] cfgfile, ...
 
.SH OPTIONS
 
.TP
.B symtbl
 
This option causes the test driver to include a symbol table with some
predefined test variables in it. These are useful for experimenting
with variable dereferencing, substitution, and type/value enforcement.
 
well as any variables created with this option, if present.
 
.TP
.B nonewvars
 
This option disables the creation of new variables in the
configuration file (via the \fCAllowNewVars\fP API option). The user
is limited to referencing and modifying only those variables already
present in the symbol table. Typically used when passing an initial
The default is to permit new variable creation.
 
.TP
.B templates
 
This option creates a default set of variable templates for use in
the configuration file. These are passed to the \fCtconfpy\fP parser
via the \fCTemplates={}\fP API option.
 
 
 
.TP
.B temponly
 
This option will only permit new variable creation if a template for
that variable exists (via the \fCTemplatesOnly=True\fP parser API
option). This is used in conjunction with the \fCtemplates\fP option
above.
of \fC.literal\fP blocks in a configuration file. If this option
is present, the test driver tells \fCtconfpy\fP to replace any variable
references present in a \fC.literal\fP block. See the \fCtconfpy\fP
documentation for a more complete description.
 
.TP
.B nopredefs
This option tells the parser (via the \fCReturnPredefs=False\fP API option)
to
.B not
include any of its own predefined variables in the symbol table it
returns.
 
.TP
.B debug