diff --git a/tconfpy.3 b/tconfpy.3 index 5cc921a..07f84ec 100644 --- a/tconfpy.3 +++ b/tconfpy.3 @@ -103,6 +103,7 @@ from tconfpy import * retval = ParseConfig(cfgfile, + CallingProgram="tconfpy version-num", InitialSymTable={}, AllowNewVars=True, Templates={}, @@ -120,7 +121,26 @@ .TP .B cfgfile (Required Parameter - No Default) -The the name of a file containing configuration information +Declares where the configuration is found. If this parameter is a +.B string, +it is treated as the name of a file to parse. If this parameter +is a +.B list, +\*(TC presumes this to be an in-memory configuration, and parses the +list in sequential order, treating each entry as a configuration line. +This allows you to use \*(TC for parsing either configuration files or +in-memory configurations. If you pass anything other than a string +or list here, \*(TC will produce an error. + +.TP +.B CallingProgram + +By default, each time \*(TC produces an Error, Warning, or Debug +message, it prepends it with the string \'tconfpy\' followed by +the version number. Since \*(TC is designed to be called from +applications programs, you may wish to substitute your own +program name or other information in these messages. You do so +by setting the \fCCallingProgram\fp keyword to the desired text. .TP .B InitialSymTable (Default: \fC{}\fP)