Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:374015edfdfa97bced6da81f066cd18797a39573
Author...:Collin Funk
Committer:Collin Funk
Date.....:Sun Feb 8 20:11:31 2026 -0800
Parents..:390c04c5bd597dc109ab11fb11f245a1b06eecec

Message
doc: don't document short options for --help and --version

These were removed in commit e8e46123cfe62170a2f7f79db6b471b66ae36947.
Reported by Lorenzo Lomartire in
<https://savannah.gnu.org/bugs/?68030>.

* doc/hello.texi (Invoking hello): Don't list the unsupported -h and -v
short options.

Changes
diff --git a/NEWS b/NEWS
line changes: +2/-0
index cb7a939..80a9af8
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ GNU Hello NEWS                                         -*- outline -*-
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+The manual no longer mentions the -h and -v short options which were
+removed in release 2.11.
 
 * Noteworthy changes in release 2.12.2 (2025-05-19) [stable]
 

diff --git a/doc/hello.texi b/doc/hello.texi
line changes: +0/-4
index e3a2353..923c67b
--- a/doc/hello.texi
+++ b/doc/hello.texi
@@ -234,9 +234,7 @@ world!}.
 Output @var{text} instead of the default greeting.
 
 @item --help
-@itemx -h
 @opindex --help
-@opindex -h
 Print an informative help message on standard output and exit
 successfully.
 
@@ -257,9 +255,7 @@ be mentioned (Hello doesn't have any).
 Output the traditional greeting message @samp{hello, world}.
 
 @item --version
-@itemx -v
 @opindex --version
-@opindex -v
 Print the version number and licensing information of Hello on
 standard output and then exit successfully.
 

This website is licensed under AGPL-3.0. Feel free to copy!