]> git.draconx.ca Git - cdecl99.git/blobdiff - src/execute.gperf
cdecl99: Fall back to getline, instead of Gnulib's readline.
[cdecl99.git] / src / execute.gperf
index b1e7d5931ee2e4746c3c04bf80050cb1ab6583c6..de8b1364c7cf44c953b8f9983ca6d0aed1bbf2a9 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "cdecl99.h"
 #include "commands.h"
+#include "help.h"
 
 typedef
 #if STRTAB_MAX_OFFSET < UINT_LEAST8_MAX
@@ -76,7 +77,7 @@ static int run_cmd_help(void)
                        w = 0;
                }
 
-               print_block(gettext(strtab+c->cmd), 15, w);
+               help_print_desc(NULL, gettext(strtab+c->cmd), 15, w);
        }
 
        return 0;