hledger
hledger copied to clipboard
cli: joining -I and -f- together does not work
-I -f-
or -f- -I
work:
$ hledger print -f /dev/null | hledger -I -f- is --debug 8 2>&1 | grep probably
raw command is probably: "is"
By normal command line rules you'd expect -If-
to also work, but hledger misparses it:
$ hledger print -f /dev/null | hledger -If- is --debug 8 2>&1 | grep probably
raw command is probably: ""
~~Related: https://hledger.org/faq.html#how-do-i-show-an-income-statement-restricted-to-just-my-credit-card-eg-~~
That anchor tag seems to no longer exist in the faq page
Sorry, I don't know the new anchor, but the link was unimportant, let's disregard it.