aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--setenv.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/setenv.sh b/setenv.sh
index befb4e5..318999b 100644
--- a/setenv.sh
+++ b/setenv.sh
@@ -86,7 +86,7 @@ normalize_pgn() {
append_pgn() {
if [ "$#" -ne 2 ]; then
- echo "usage: $FUNCNAME DEST_PGN SRC_PGN" >&2
+ echo "usage: ${FUNCNAME[0]} DEST_PGN SRC_PGN" >&2
return 1
fi
@@ -96,7 +96,7 @@ append_pgn() {
join_pgns() (
if [ "$#" -eq 0 ]; then
- echo "usage: $FUNCNAME [PGN_FILE]"
+ echo "usage: ${FUNCNAME[0]} PGN_FILE..."
return 0
fi