fix compile error for cli.c

Signed-off-by: xiehuc <xiehuc@gmail.com>