summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-14 16:17:31 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-14 16:18:17 -0400
commit7d6a5fdf70f8a1951834a40cb6e6c72e7ff6c155 (patch)
tree15f01b2d0b930f33603e95f3c9ca1549857acb13
parent0e72442e948edbf7cb8e92cfc8785a7ecd6d1504 (diff)
fix error messages ${@@Q} -> ${*@Q}
-rwxr-xr-xosi-mk2
-rwxr-xr-xosi-run2
2 files changed, 2 insertions, 2 deletions
diff --git a/osi-mk b/osi-mk
index 9ba0958..4fdd3e3 100755
--- a/osi-mk
+++ b/osi-mk
@@ -108,7 +108,7 @@ main() {
if (( $# == 0 )); then
error 0 "Expected 1 positional argument, got none"
else
- error 0 "Expected 1 positional argument, got %d: %s" "$#" "${@@Q}"
+ error 0 "Expected 1 positional argument, got %d: %s" "$#" "${*@Q}"
fi
arg_mode=error
else
diff --git a/osi-run b/osi-run
index e5b2c1b..64be439 100755
--- a/osi-run
+++ b/osi-run
@@ -37,7 +37,7 @@ main() {
if (( $# == 0 )); then
error 0 "Expected 1 positional argument, got none"
else
- error 0 "Expected 1 positional argument, got %d: %s" "$#" "${@@Q}"
+ error 0 "Expected 1 positional argument, got %d: %s" "$#" "${*@Q}"
fi
arg_mode=error
else