X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=interactive.c;h=288e9f3031f2890f73282a67ebd04be5bdffe142;hp=62ff5edb774ded49b643e14c4a94f72336f4115c;hb=d46cd1bca47e94e62ef558973a69761a729f298e;hpb=a56b058b5c6531571b77f9e899eb8b6557693112 diff --git a/interactive.c b/interactive.c index 62ff5ed..288e9f3 100644 --- a/interactive.c +++ b/interactive.c @@ -65,7 +65,9 @@ static int icom_help(__a_unused char *line) void print_interactive_help(void) { - icom_help(NULL); + struct interactive_command *c; + FOR_EACH_COMMAND(c) + fprintf(stdout, "\t%s\t%s\n", c->name, c->desc); } static int icom_reset(__a_unused char *line)