TABLE OF CONTENTS
::pwtk::addOpt_
SYNOPSIS
proc ::pwtk::addOpt_ {optionsVar usageVar newOpt newUsage} {
DESCRIPTION
Format the "usage" list for printout in ::pwtk::parseOpt_.
ARGUMENTS
- optionsVar --- name of the 'options' variable
- usageVar --- name of the 'usage' variable
- newOpt --- specs for a new option to add (in the syntax of 'options')
- newUsage --- the 'usage' type description for the new option 'newOpt'
SOURCE
upvar $optionsVar options upvar $usageVar usage lappend options $newOpt lappend usage {} $newUsage }