;bin:hledger-bar: fix a shellcheck warning

This commit is contained in:
Simon Michael 2024-01-22 10:29:47 -10:00
parent ac47ea4a0e
commit d8addd5926

View File

@ -103,7 +103,7 @@ if [[ $1 =~ ^[0-9]+$ ]]; then scale=$1; shift; fi
# The hledger reporting command. It should produce a two-column CSV
# report with one line per period and one currency. It must have a
# report interval for --transpose to work. shellcheck disable=SC2124
cmd="hledger balance -Ocsv --transpose -N -0 --layout=bare -M $@"
cmd="hledger balance -Ocsv --transpose -N -0 --layout=bare -M $*"
printcmd() {
echo "From command (might need added quotes):" # don't know how to print all the slashes