12.14.5 \CurrentOption

Expands to the name of the option currently being processed. This can only be used within the code argument of either \DeclareOption or \DeclareOption*.


Unofficial LaTeX2e reference manual