From: Collin Funk <collin.funk1@gmail.com>
Date: Thu, 2 May 2024 23:57:13 +0000 (-0700)
Subject: gnulib-tool.sh: Fix program name in error message.
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=cae0e724baff3438dea796f5f7ff7bd17e04a9d8;p=gnulib.git

gnulib-tool.sh: Fix program name in error message.

* gnulib-tool.sh: Use 'gnulib-tool' instead of 'gnulib' as the program
name in the error message.
---

diff --git a/ChangeLog b/ChangeLog
index d59f8d5c7e..d967c8cfac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-05-02  Collin Funk  <collin.funk1@gmail.com>
+
+	gnulib-tool.sh: Fix program name in error message.
+	* gnulib-tool.sh: Use 'gnulib-tool' instead of 'gnulib' as the program
+	name in the error message.
+
 2024-05-02  Collin Funk  <collin.funk1@gmail.com>
 
 	DEPENDENCIES: Add Cygwin as supported platform.
diff --git a/gnulib-tool.sh b/gnulib-tool.sh
index b486e99b1e..521d16e47a 100755
--- a/gnulib-tool.sh
+++ b/gnulib-tool.sh
@@ -1584,7 +1584,7 @@ func_determine_path_separator
       echo "gnulib-tool: invalid options for 'update' mode" 1>&2
       echo "Try 'gnulib-tool --help' for more information." 1>&2
       echo "If you really want to modify the gnulib configuration of your project," 1>&2
-      echo "you need to use 'gnulib --import' - at your own risk!" 1>&2
+      echo "you need to use 'gnulib-tool --import' - at your own risk!" 1>&2
       func_exit 1
     fi
   fi