Syntax:
Unix:
use_disp -model model_name -asg asg_name
[-config filename] -output filename
[-help [help_dir] | -syntax [help_dir] | -version]
[-options] [-arg_input path_name] [-noheader]
[-quiet] [-ask] [-unix] [-vms] [-os2]
VMS:
use_disp /model=model_name /asg=asg_name
[/config=filename] /output=filename
[/help [=help_dir] | /syntax [=help_dir] | /version]
[/options] [/arg_input=path_name] [/noheader]
[/quiet] [/ask] [/unix] [/vms] [/os2]
OS/2:
use_disp /model:model_name /asg:asg_name
[/config:filename] /output:filename
[/help [:help_dir] | /syntax [:help_dir] | /version]
[/options] [/arg_input:path_name] [/noheader]
[/quiet] [/ask] [/unix] [/vms] [/os2]
Program Description:
use_disp will extract all of the Ada code notes from the specified
ASG in the specified model and load them into a file to be edited by
the editor of the user's choice. After the code notes are edited, the
user saves the changes made, and the changes are injected back into
the teamwork database. This tool is invoked in the ASG editor under
the EDIT ALL NOTES menu item of the ANNOTATE menu bar item.
Options:
model <model_name> Specifies the model which contains the
ASG whose notes are to be edited.
asg <asg_name> Specifies the ASG whose notes are to be
edited.
config <config_file> Specifies a configuration file.
(Default: /cadre/tsa/config_file)
output <filename> Specifies the filename of where the
edited notes shall reside. This file is
deleted upon successful injection of
the Ada code notes back into the
teamwork database.
help <help_dir> Shows the full help screen (this information)
and exits. The optional argument indicates
the directory that contains the help file.
syntax <help_dir> Shows the short help screen (syntax lines only)
and exits. The optional argument indicates
the directory that contains the help file.
version Shows the program header and the teamwork
version, and exits.
options Shows the command line options chosen, before
executing the program.
arg_input <file_name> Indicates that more command line options are in
the file 'file_name'.
noheader Suppresses display of the program header
before program execution.
quiet Suppresses status messages during
program execution.
ask Prompts the user for required command line
options that are not specified.
unix Allows the entry of options in Unix format
(-example_option).
vms Allows the entry of options in VMS format
(/example_option).
os2 Allows the entry of options in OS2 format
(/example_option).
Examples (Unix-format):
1) Edit the notes of the ASG named bar in the model named foo,
use config_file /rfp/config_file, and put the edited notes
in the file named /rfp/stuff.a
use_disp -model foo -asg bar -config /rfp/config_file -output /rfp/stuff.a
2)Edit the notes of the ASG named bar in the model named foo,
use the default config_file (/cadre/tsa/config_file), and put the
edited notes in the file named /rfp/stuff.a
use_disp -model foo -asg bar -output /rfp/stuff.a