Some other actions supported by optparse are:
store_const
append
count
callback
These are covered in section 14.3.3, Reference Guide and section 14.3.4, Option Callbacks.