generate-cmdlist.sh: avoid selecting synopsis at wrong place