Also use the standard macros for outputting it. Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> --- text-utils/colcrt.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/text-utils/colcrt.c b/text-utils/colcrt.c index 31ce52a..da2250b 100644 --- a/text-utils/colcrt.c +++ b/text-utils/colcrt.c @@ -317,12 +317,13 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out) fputs(_("Filter nroff output for CRT previewing.\n"), out); fputs(USAGE_OPTIONS, out); - fprintf(out, - _(" -, --no-underlining suppress all underlining\n" - " -2, --half-lines print all half-lines\n" - " -V, --version output version information and exit\n" - " -h, --help display this help and exit\n\n")); + fputs(_(" -, --no-underlining suppress all underlining\n"), out); + fputs(_(" -2, --half-lines print all half-lines\n"), out); + fputs(USAGE_SEPARATOR, out); + fputs(USAGE_HELP, out); + fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("colcrt(1)")); + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); } -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html