cmd.c modified
cmd.c