From: Benno Schulenberg Date: Sat, 15 Feb 2025 16:18:40 +0000 (+0100) Subject: rev: standardize the usage header, making the synopsis equal to another X-Git-Tag: v2.42-start~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3dc55c3404f28a1b918aceab748c0a1f23913a2;p=thirdparty%2Futil-linux.git rev: standardize the usage header, making the synopsis equal to another Signed-off-by: Benno Schulenberg --- 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);