pmc: make the interactive output a bit clearer.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-08-22 07:17:04 +02:00
parent f9953c6ef3
commit 4240203655
1 changed files with 5 additions and 1 deletions

6
pmc.c
View File

@ -217,6 +217,8 @@ static void null_management(int action, int index)
{
if (action == GET)
get_action(idtab[index].code);
else
puts("non-get actions still todo");
}
static int parse_action(char *s)
@ -266,7 +268,9 @@ static int do_command(char *str)
return 0;
}
fprintf(stdout, "%s\n", idtab[id].name);
fprintf(stdout, "sending: %s %s\n",
action_string[action], idtab[id].name);
idtab[id].func(action, id);
return 0;