1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-27 11:08:57 +02:00

doc: date: mention --file=- reads from standard input

* src/date.c (usage): Mention that standard input will be read if
DATEFILE is "-".
Reported at https://bugs.debian.org/1100395
This commit is contained in:
Collin Funk
2025-11-26 19:27:07 -08:00
parent 5763d56e69
commit 194176cddb
+3 -1
View File
@@ -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 -, read names from standard input\
\n\
"), stdout);
fputs (_("\
-I[FMT], --iso-8601[=FMT] output date/time in ISO 8601 format.\n\