add a flag in doc