diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-14 16:17:31 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-14 16:18:17 -0400 |
commit | 7d6a5fdf70f8a1951834a40cb6e6c72e7ff6c155 (patch) | |
tree | 15f01b2d0b930f33603e95f3c9ca1549857acb13 | |
parent | 0e72442e948edbf7cb8e92cfc8785a7ecd6d1504 (diff) |
fix error messages ${@@Q} -> ${*@Q}
-rwxr-xr-x | osi-mk | 2 | ||||
-rwxr-xr-x | osi-run | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -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 |