cmake --workflow: print usage and exit on unrecognized argument

Issue: #24073
5 files changed