program options partially implemented
parsing program options