;bin:hledger-bar: fix a shellcheck warning
This commit is contained in:
parent
ac47ea4a0e
commit
d8addd5926
@ -103,7 +103,7 @@ if [[ $1 =~ ^[0-9]+$ ]]; then scale=$1; shift; fi
|
|||||||
# The hledger reporting command. It should produce a two-column CSV
|
# 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 with one line per period and one currency. It must have a
|
||||||
# report interval for --transpose to work. shellcheck disable=SC2124
|
# 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() {
|
printcmd() {
|
||||||
echo "From command (might need added quotes):" # don't know how to print all the slashes
|
echo "From command (might need added quotes):" # don't know how to print all the slashes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user