cmArgumentParser: Generalize expected argument count

Replace the boolean expectation with an integer count.
2 files changed