UserInterface/Find_Parameterized_Option [ Functions ]

FUNCTION

Search for an option of the form

     --a_option_name a_value

in configuration.options.

SYNOPSIS

char               *Find_Parameterized_Option(
    char *optionname )

INPUTS

optionname -- the name of the option to search for.

RESULT

NULL if the option is not found, a pointer to the value otherwise.

NOTES

Results in a Panic if the option is found but no value is specified.

SOURCE

{
    return General_Find_Parameterized_Option( configuration.options.number,
                                              &( configuration.options.
                                                 names[0] ), optionname );
}