Initialize getopt state tracker
Remove unnecessary strdup() calls