hledger: update formatting
This commit is contained in:
parent
1a9008fc8d
commit
8497446d98
38
hledger.md
38
hledger.md
|
@ -13,33 +13,33 @@ hledger {bal|reg} {interval} {period} {query}
|
||||||
Used on all commands (`bal`, `reg`, etc).
|
Used on all commands (`bal`, `reg`, etc).
|
||||||
|
|
||||||
```
|
```
|
||||||
Assets ; An account (regex)
|
Assets # An account (regex)
|
||||||
acct:Assets ; same
|
acct:Assets # same
|
||||||
^Assets ; Starting with Assets (eg, not 'Expenses:Assets')
|
^Assets # Starting with Assets (eg, not 'Expenses:Assets')
|
||||||
inacct:'A:B' ; transactions related to account
|
inacct:'A:B' # transactions related to account
|
||||||
|
|
||||||
acctonly:A ; no subaccounts
|
acctonly:A # no subaccounts
|
||||||
inacctonly:A ; same, but no subaccounts
|
inacctonly:A # same, but no subaccounts
|
||||||
|
|
||||||
amt:2000 ; amount (in absolute value)
|
amt:2000 # amount (in absolute value)
|
||||||
amt:<200 ; amount comparison (in absolute value)
|
amt:<200 # amount comparison (in absolute value)
|
||||||
amt:<+200 ; amount comparison
|
amt:<+200 # amount comparison
|
||||||
; also: <=, >, >=
|
# also: <=, >, >=
|
||||||
|
|
||||||
desc:REGEX
|
desc:REGEX
|
||||||
|
|
||||||
code:REGEX
|
code:REGEX
|
||||||
cur:'\$'
|
cur:'\$'
|
||||||
depth:N ; --depth 2
|
depth:N # --depth 2
|
||||||
tag:REGEX
|
tag:REGEX
|
||||||
not:... ; eg, not:status:!
|
not:... # eg, not:status:!
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
real:1 ; -R, --real, no virtuals
|
real:1 # -R, --real, no virtuals
|
||||||
status:! ; --pending
|
status:! # --pending
|
||||||
status:* ; -C, --cleared
|
status:* # -C, --cleared
|
||||||
status: ; --uncleared
|
status: # --uncleared
|
||||||
```
|
```
|
||||||
|
|
||||||
### Intervals
|
### Intervals
|
||||||
|
@ -57,8 +57,8 @@ Used on all commands (`bal`, `reg`, etc). Displays in multi-column mode. In `led
|
||||||
|
|
||||||
```
|
```
|
||||||
date:2015/01/01
|
date:2015/01/01
|
||||||
date:2015/01/01- ; -b, --begin
|
date:2015/01/01- # -b, --begin
|
||||||
date:-2015/01/01 ; -e, --end
|
date:-2015/01/01 # -e, --end
|
||||||
date2:PERIODEXPR
|
date2:PERIODEXPR
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ date2:PERIODEXPR
|
||||||
-p, --period=...
|
-p, --period=...
|
||||||
-p "2009/01/01"
|
-p "2009/01/01"
|
||||||
-p "2009/01/01 to 2009/12/31"
|
-p "2009/01/01 to 2009/12/31"
|
||||||
-p "2009/01/01to2009/12/31" ; spaces optional
|
-p "2009/01/01to2009/12/31" # spaces optional
|
||||||
-p "1/1 to 12/31"
|
-p "1/1 to 12/31"
|
||||||
-p "to 2009"
|
-p "to 2009"
|
||||||
-p "weekly"
|
-p "weekly"
|
||||||
|
|
Loading…
Reference in New Issue