Fix typo - chmdchar -> cmdchar