6.21.2.4 Other actions
Some other actions supported by optparse are:
- store a constant value
- append this option's argument to a list
- increment a counter by one
- call a specified function
These are covered in section 6.21.3, Reference Guide and section 6.21.4, Option Callbacks.
See About this document... for information on suggesting changes.