Fixed a typo in the cmdmax argument

Fixed a typo in the cmdmax argument.