Split option handling out of init.c