## Permanent Vs. One Time Options

“undc” lets you control every aspect of the parsing in the same way the Project Configure dialog does in Understand for C++’s GUI. One important difference is that with “undc” options can be permanent or just for the invocation of “undc”.

Here is the rule: Any option specified when creating a database will be permanently stored as an option to be used with future uses of “undc” (unless overridden or reset using the Understand for C++ GUI).

So...

    undc -db foo.udc -create -include /usr/myincludes

permanently adds “/usr/myincludes” to the include path, while

    undc -db foo.udc -include /usr/myincludes/test

uses that include path only for this invocation of “undc”.

The exception is that options that add files to the project (for example, -add) are always stored permanently unless later modified in the GUI environment.

When you use the -create option, filenames specified on the command line are treated as if they were used with the -add option (to add them to the project). When you do not use the -create option, filenames specified on the command line are treated as a list of files to be reparsed.

Scientific Toolworks, Inc. http://www.scitools.com