-
-/*
- * 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
return NULL;
if (ans[0] == '?' || ans[0] == '\0') {
- printf("Options are:\n");
+ puts("Options are:");
print_sw(ALL, ansp, "", stdout);
free(ans);
continue;
return NULL;
}
#endif /* READLINE_SUPPORT */
-