From 5763d56e692207e5c51863e4cbbb0b2aae32bf23 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Wed, 26 Nov 2025 19:17:43 -0800 Subject: [PATCH] doc: du, sort, wc: adjust description of --files0-from * src/du.c (usage): Remove an unnecessary "then". * src/wc.c (usage): Likewise. Add a comma after "-". * src/sort.c (usage): Likewise. Adjust the indentation to match du and wc. --- src/du.c | 2 +- src/sort.c | 4 ++-- src/wc.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/du.c b/src/du.c index 105acb2dfd..80d0b53d16 100644 --- a/src/du.c +++ b/src/du.c @@ -312,7 +312,7 @@ Summarize device usage of the set of FILEs, recursively for directories.\n\ fputs (_("\ --files0-from=F summarize device usage of the\n\ NUL-terminated file names specified in file F;\n\ - if F is -, then read names from standard input\n\ + if F is -, read names from standard input\n\ -H equivalent to --dereference-args (-D)\n\ -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)\ \n\ diff --git a/src/sort.c b/src/sort.c index 671a953d2c..26afc97ec5 100644 --- a/src/sort.c +++ b/src/sort.c @@ -484,8 +484,8 @@ Other options:\n\ --debug annotate the part of the line used to sort, and\n\ warn about questionable usage to standard error\n\ --files0-from=F read input from the files specified by\n\ - NUL-terminated names in file F;\n\ - If F is - then read names from standard input\n\ + NUL-terminated names in file F;\n\ + If F is -, read names from standard input\n\ "), stdout); fputs (_("\ -k, --key=KEYDEF sort via a key; KEYDEF gives location and type\n\ diff --git a/src/wc.c b/src/wc.c index 6b46412fb8..d2ffb03b37 100644 --- a/src/wc.c +++ b/src/wc.c @@ -194,7 +194,7 @@ the following order: newline, word, character, byte, maximum line length.\n\ fputs (_("\ --files0-from=F read input from the files specified by\n\ NUL-terminated names in file F;\n\ - If F is - then read names from standard input\n\ + If F is -, read names from standard input\n\ -L, --max-line-length print the maximum display width\n\ -w, --words print the word counts\n\ "), stdout); -- 2.47.3