Thanks, I installed the attached.
From 33ce4260b8b71d6ccb04ecf8ebf6258fcc3a4017 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Sun, 7 Dec 2025 09:40:21 -0800
Subject: [PATCH] diff: tweak -q, -s doc

Problem reported by Dan Jacobsen (bug#79959).
* src/diff.c (option_help_msgid): Tweak.
---
 doc/diffutils.texi | 2 +-
 src/diff.c         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/diffutils.texi b/doc/diffutils.texi
index 1d89353..bff5abc 100644
--- a/doc/diffutils.texi
+++ b/doc/diffutils.texi
@@ -4016,7 +4016,7 @@ found.  @xref{Comparing Directories}.
 
 @item -s
 @itemx --report-identical-files
-Report when two files are the same.  @xref{Comparing Directories}.
+Also report when two files are the same.  @xref{Comparing Directories}.
 
 @item -S @var{file}
 @itemx --starting-file=@var{file}
diff --git a/src/diff.c b/src/diff.c
index 775f8fc..89cd703 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -980,8 +980,8 @@ check_stdout (void)
 
 static char const *const option_help_msgid[] = {
   N_("    --normal                  output a normal diff (the default)"),
-  N_("-q, --brief                   report only when files differ"),
-  N_("-s, --report-identical-files  report when two files are the same"),
+  N_("-q, --brief                   report only whether files differ"),
+  N_("-s, --report-identical-files  also report if two files are the same"),
   N_("-c, -C NUM, --context[=NUM]   output NUM (default 3) lines of copied context"),
   N_("-u, -U NUM, --unified[=NUM]   output NUM (default 3) lines of unified context"),
   N_("-e, --ed                      output an ed script"),
-- 
2.51.0

Reply via email to