Autogenerate an option parser capturing environments. #48