On 26/11/2025 07:28, Collin Funk wrote:
* src/date.c (usage): Mention that standard input will be read if
DATEFILE is "-".
Reported at https://bugs.debian.org/1100395
---
  src/date.c | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/date.c b/src/date.c
index 2b944e79f..eb65a7b72 100644
--- a/src/date.c
+++ b/src/date.c
@@ -146,7 +146,9 @@ With -s, or with [MMDDhhmm[[CC]YY][.ss]], set the date and 
time.\n\
                                warn about questionable usage to standard 
error\n\
  "), stdout);
        fputs (_("\
-  -f, --file=DATEFILE        like --date; once for each line of DATEFILE\n\
+  -f, --file=DATEFILE        like --date; once for each line of DATEFILE;\n\
+                               If DATEFILE is - then read names from 
standard\n\
+                               input\n\

Would it be better to remove the "then" to fit on one line?

 If DATEFILE is -, read names from standard input

+1 to both changes in any case.

cheers,
Padraig

Reply via email to