;doc: queries: fix formatting
This commit is contained in:
parent
b67cb97fff
commit
1591939074
@ -1070,6 +1070,7 @@ This makes certain queries hard to express, but here are some tricks that can he
|
|||||||
|
|
||||||
1. Use a doubled `not:` prefix.
|
1. Use a doubled `not:` prefix.
|
||||||
Eg, to print only the food expenses paid with cash:
|
Eg, to print only the food expenses paid with cash:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ hledger print food not:not:cash
|
$ hledger print food not:not:cash
|
||||||
```
|
```
|
||||||
@ -1077,6 +1078,7 @@ This makes certain queries hard to express, but here are some tricks that can he
|
|||||||
2. Or pre-filter the transactions with `print`,
|
2. Or pre-filter the transactions with `print`,
|
||||||
piping the result into a second hledger command
|
piping the result into a second hledger command
|
||||||
(with balance assertions disabled):
|
(with balance assertions disabled):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ hledger print cash | hledger -f- -I balance food
|
$ hledger print cash | hledger -f- -I balance food
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user