Only show maxval in --cmdhelp if it is given