Fix crash when running "switchtec help help"
Fix crash when running "switchtec help help"

This caused an infinite loop bug.

Reported by: Wesley Sheng <wesley.sheng@microsemi.com>

Microsemi/switchtec-user,Microsemi/switchtec-user