[PATCH 13/13] vsh: Refactor logic in vshCommandParse