C getopt cheat sheet

Parse both short and long options in your C code.

Blender Hotkey Cheat Sheet


This two-page cheat sheet provides gentle reminders on the syntax and structure of getopt() and getopt_long(). One page demonstrates short options, and the other side demonstrates long options with minimum viable code and a listing of the global variables you need to know.