]> granicus.if.org Git - strace/commitdiff
maint/update_copyright_years.sh: fix typo in help output
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 11 Nov 2017 23:08:09 +0000 (23:08 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 11 Nov 2017 23:08:09 +0000 (23:08 +0000)
* maint/update_copyright_years.sh (print_help): Fix typo, disable
here-document expansion.

maint/update_copyright_years.sh

index 42f8ba5200ad501218fbb4c967aa267b92b9b88f..bab62c920a27de0fe3c6435247958059329e00b1 100755 (executable)
@@ -52,7 +52,7 @@ debug() { [ "$VERBOSE" -ge 2 ] && printf '%s\n' "$*"; }
 
 print_help()
 {
-       cat <<EOF
+       cat <<'EOF'
 Usage: update_copyright_notices [-v]* [-q]* [-a] [-h] [FILES]
 
 If no files provided, process all files in current directory, recursively.
@@ -65,7 +65,7 @@ Script implements hard-coded logic for extracting comments in files:
 
 Options:
   -a  Invoke git add for the changed files.
-  -c  Call git commit with message provided in $$GIT_COMMIT_TEMPLATE (implies -a).
+  -c  Call git commit with message provided in $GIT_COMMIT_TEMPLATE (implies -a).
   -v  Increase verbosity.
   -q  Decrease verbosity.
   -h  Show this help.