first doc, starting with flag parsing