X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/43f8ebf56f22d904af392a2f2a0e402b1fffce8b..afaab789:/sbr/read_switch_multiword_via_readline.c?ds=sidebyside diff --git a/sbr/read_switch_multiword_via_readline.c b/sbr/read_switch_multiword_via_readline.c index 8696c57f..fe84b4e0 100644 --- a/sbr/read_switch_multiword_via_readline.c +++ b/sbr/read_switch_multiword_via_readline.c @@ -1,6 +1,4 @@ - -/* - * read_switch_multiword_via_readline.c -- get an answer from the user, with readline +/* read_switch_multiword_via_readline.c -- get an answer from the user, with readline * * This code is Copyright (c) 2012, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -43,7 +41,7 @@ read_switch_multiword_via_readline(char *prompt, struct swit *ansp) return NULL; if (ans[0] == '?' || ans[0] == '\0') { - printf("Options are:\n"); + puts("Options are:"); print_sw(ALL, ansp, "", stdout); free(ans); continue; @@ -113,4 +111,3 @@ nmh_command_generator(const char *text, int state) return NULL; } #endif /* READLINE_SUPPORT */ -