twoopt Definitions with two optional arguments. Variants of \newcommand, \renewcommand and \providecommand are provided.

The package is part of the oberdiek bundle.