parse_cmd: Fix the syntax error.

This commit fixes an indexing error of the parsing module.

Signed-off-by: Yeqiao Wang <ee07b291@gmail.com>