6.21.2.1 Understanding option actions
Actions tell optparse what to do when it encounters an option on the
command line. There is a fixed set of actions hard-coded into optparse;
adding new actions is an advanced topic covered in sectionÂ
If you don't specify an option action, optparse defaults to store
.
See About this document... for information on suggesting changes.