Fix missing opts for diagnose command