add commend for function in cmd.c