hledger icon indicating copy to clipboard operation
hledger copied to clipboard

cli: joining -I and -f- together does not work

Open simonmichael opened this issue 1 year ago • 2 comments

-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-~~

simonmichael avatar Jul 08 '23 22:07 simonmichael

That anchor tag seems to no longer exist in the faq page

derelbenkoenig avatar Nov 14 '23 21:11 derelbenkoenig

Sorry, I don't know the new anchor, but the link was unimportant, let's disregard it.

simonmichael avatar Nov 14 '23 21:11 simonmichael