From: Pádraig Brady Date: Thu, 22 Jan 2026 12:55:01 +0000 (+0000) Subject: doc: pr: fix --help output output X-Git-Tag: v9.10~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49420ca7d955215ca9c2a490cb8694f6ed586f06;p=thirdparty%2Fcoreutils.git doc: pr: fix --help output output * src/pr.c (usage): Use consistent alignment with -J, and highlight --pages using oputs(). --- diff --git a/src/pr.c b/src/pr.c index 5694411674..cb2d45d54a 100644 --- a/src/pr.c +++ b/src/pr.c @@ -2774,10 +2774,10 @@ Paginate or columnate FILE(s) for printing.\n\ emit_stdin_note (); emit_mandatory_arg_note (); - fputs (_("\ + oputs (_("\n\ +FIRST_PAGE[:LAST_PAGE], --pages=FIRST_PAGE[:LAST_PAGE]\n\ begin [stop] printing with page FIRST_[LAST_]PAGE\n\ -"), stdout); +")); oputs (_("\ -COLS, --columns=COLS\n\ output COLS columns and print columns down, unless -a is used.\n\ @@ -2819,8 +2819,9 @@ Paginate or columnate FILE(s) for printing.\n\ replace spaces with CHARs (TABs) to tab WIDTH (8)\n\ ")); oputs (_("\ - -J, --join-lines merge full lines, turns off -W line truncation, no column\n\ - alignment, --sep-string[=STRING] sets separators\n\ + -J, --join-lines\n\ + merge full lines, turns off -W line truncation,\n\ + no column alignment, --sep-string[=STRING] sets separators\n\ ")); oputs (_("\ -l, --length=PAGE_LENGTH\n\