commit:     1088be9dab012bc56fd3686a96f3cea1fa3fb45f
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sat Aug  9 14:43:51 2025 +0000
Commit:     Kerin Millar <kfm <AT> plushkava <DOT> net>
CommitDate: Sat Aug  9 14:43:51 2025 +0000
URL:        https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=1088be9d

Have the --help option reference the man pages

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>

 locale-gen | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/locale-gen b/locale-gen
index 96e1060..cb54ed5 100755
--- a/locale-gen
+++ b/locale-gen
@@ -215,6 +215,8 @@ sub show_usage (@options) {
                my ($long, $short) = split /[|=]/, $spec;
                printf {$pipe} "-%s, --%s\037%s\n", $short, $long, $description;
        }
+       close $pipe;
+       print "\nSee also: locale-gen(8), locale.gen(5)\n";
 }
 
 sub show_version () {

Reply via email to