document CompareFlags