From what I recall this was in older IOS, it was later simplified in the command syntax and in newer IOS versions, making "general-keys" the default behaviour and optional. It specified that a general-purpose key pair will be generated which is the default.
I’m guessing as CML uses more recent images that more closely match real Cisco stuff, where the simplified command syntax is accepted.
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io