From d3dc55c3404f28a1b918aceab748c0a1f23913a2 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 15 Feb 2025 17:18:40 +0100 Subject: [PATCH] rev: standardize the usage header, making the synopsis equal to another Signed-off-by: Benno Schulenberg --- text-utils/rev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text-utils/rev.c b/text-utils/rev.c index fc7ac6203..4c2357a7e 100644 --- a/text-utils/rev.c +++ b/text-utils/rev.c @@ -73,8 +73,8 @@ static void sig_handler(int signo __attribute__ ((__unused__))) static void __attribute__((__noreturn__)) usage(void) { FILE *out = stdout; - fprintf(out, _("Usage: %s [options] [file ...]\n"), - program_invocation_short_name); + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s [options] [ ...]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Reverse lines characterwise.\n"), out); -- 2.47.3