Similar to what's done in Katydid with macros and a helper struct to create CL options at static initialization time.