National Instruments 370769C-01 Table Top Game User Manual


 
Appendix A DocumentIt Options
DocumentIt User Guide A-4 ni.com
file, the command option overrides the same option in the options file.
Refer to Example A-1 and the following paragraphs.
For different applications, you might need to invoke DocumentIt
differently. For this reason, you can have multiple options files. To invoke
DocumentIt with an options file other than
autostar.opt, specify the
name of the options file when you invoke DocumentIt. Refer to
Example A-2 and the following paragraphs.
Options are entered in the options file using the same syntax as if they were
specified in the command syntax. The exception is that map specifications
are not enclosed between quotes. Options can be on one line, separate lines,
or a combination. The RTF file name cannot be specified in the options file.
Single line comments are preceded and followed by
// characters.
Example A-1 shows an options file.
Example A-1 Example autostar.opt Options File
// Sample options file //
-t c386_c860_mb2.tpl
-o myoutput
To use this file, invoke DocumentIt as follows:
autostar -doc model.rtf
This invokes DocumentIt with the autostar.opt options file.
Consider the following command:
autostar -doc -o myoutput3 model.rtf
The options file is again used, but the output file option (-o) is specified at
the command prompt, so it overrides the corresponding command in the
options file. The output documentation will be in the
myoutput3 file, not
in the
myoutput file as specified in the options file.
Example A-2 shows an options file called
myopt.opt.