ad_arg_parser (public)ad_arg_parser allowed_args argv
Defined in packages/acs-core/00-proc-procs.tclParses an argument list for a database call (switches at the end).
Switch values are placed in corresponding variable names in the calling
environment.
- Parameters:
-
allowed_args - a list of allowable switch names.
argv - a list of command-line options. May end with args to
indicate that extra values should be tolerated after switches and placed in
the args list.
- Error:
- if the list of command-line options is not valid.
|