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