summaryrefslogtreecommitdiff
path: root/gnulib-tool
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-07-31 18:56:05 +0200
committerBruno Haible <bruno@clisp.org>2022-07-31 23:52:45 +0200
commit7d155923a8772e83395e5c5b439d92ce352b4bf2 (patch)
treeb25773bffdf7acd29990762a5305d3e93a09e094 /gnulib-tool
parent1639b8598d86b3d8c7fc3c7a0afaed93c67cbb93 (diff)
downloadgnulib-7d155923a8772e83395e5c5b439d92ce352b4bf2.tar.gz
gnulib-tool.py: Allow module arguments to occur at any position.
* gnulib-tool.py (main): Collect the non-option arguments in a single list, regardless of their position. Use parse_known_args instead of parse_args, and give an error message about unknown options ourselves. * gnulib-tool: Fix typo in error message.
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-xgnulib-tool2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnulib-tool b/gnulib-tool
index 6c50b44fbc..ac53480dbf 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -1518,7 +1518,7 @@ func_determine_path_separator
echo "gnulib-tool: too many arguments in '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
if test -n "$local_gnulib_path" || test -n "$supplied_libname" \