summaryrefslogtreecommitdiff
path: root/lib/declared.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/declared.sh')
-rwxr-xr-xlib/declared.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/declared.sh b/lib/declared.sh
index ae697b2e..b721f7e9 100755
--- a/lib/declared.sh
+++ b/lib/declared.sh
@@ -4,7 +4,7 @@
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@@ -47,7 +47,7 @@ Report bugs to <bruno@clisp.org>."
func_version ()
{
echo "declared.sh (GNU gnulib)"
- echo "Copyright (C) 2021 Free Software Foundation, Inc.
+ echo "Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law."
@@ -75,7 +75,7 @@ while test $# -gt 0; do
-- ) # Stop option processing
shift; break ;;
-* )
- func_fatal_error "unrecognized option: $option"
+ func_fatal_error "unrecognized option: $1"
;;
* )
break ;;