ROUTINE
-------

INT_ ug_write_prog_info (INT_ Write_Flag,
                         char **prog_argv,
                         int prog_argc,
                         char *prog_options,
                         char *prog_info)
DESCRIPTION
-----------

Write usage and input parameter information on a given program.

INPUT ARGUMENTS
---------------

Write_Flag     : Write option flag.
                 0 - do nothing
                 1 - skip outputing program information string
                 2 - output all information
                 3 - add all parameters and skip outputing program information
                     string
                 4 - add all parameters and output all information
                 Note that if ug_set_prog_param_functions has not been called
                 then only prog_options and prog_info are written.
prog_argv      : Pointer to argument vector.
prog_argc      : Argument count.
prog_options   : Program option form.
prog_info      : Program information.

RETURN VALUE
---------------

0                        : Then no errors occurred.
>0                       : Errors occurred.
                           The return value will be between 400 and 499 or
                           the return value will be between 100400 and 100499
