TABLE OF CONTENTS
::pwtk::addOpts_
SYNOPSIS
proc ::pwtk::addOpts_ {optionsVar usageVar newOpts newUsage} {
DESCRIPTION
Similar to ::pwtk::addOpt_, but for several options.
ARGUMENTS
- optionsVar --- name of the 'options' variable
- usageVar --- name of the 'usage' variable
- newOpts --- specs for new options to add (in the syntax of 'options')
- newUsage --- the 'usage' type description for the new options 'newOpts'
SOURCE
upvar $optionsVar options upvar $usageVar usage foreach opt $newOpts { lappend options $opt } lappend usage {} {*}$newUsage }