doc: regen hledger manual
[ci skip]
This commit is contained in:
parent
845fdf8302
commit
5eb887781b
@ -2622,10 +2622,10 @@ see that account\[aq]s activity:
|
|||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
$\ hledger\ register\ checking
|
$\ hledger\ register\ checking
|
||||||
2008/01/01\ income\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ \ $1\ \ \ \ \ \ \ \ \ \ \ \ $1
|
2008/01/01\ income\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ \ $1\ \ \ \ \ \ \ \ \ \ \ $1
|
||||||
2008/06/01\ gift\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ \ $1\ \ \ \ \ \ \ \ \ \ \ \ $2
|
2008/06/01\ gift\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ \ $1\ \ \ \ \ \ \ \ \ \ \ $2
|
||||||
2008/06/02\ save\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ \ $1
|
2008/06/02\ save\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ $1
|
||||||
2008/12/31\ pay\ off\ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ \ \ 0
|
2008/12/31\ pay\ off\ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ \ 0
|
||||||
\f[]
|
\f[]
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
@ -2639,9 +2639,9 @@ historically accurate running balance:
|
|||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
$\ hledger\ register\ checking\ \-b\ 2008/6\ \-\-historical
|
$\ hledger\ register\ checking\ \-b\ 2008/6\ \-\-historical
|
||||||
2008/06/01\ gift\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ \ $1\ \ \ \ \ \ \ \ \ \ \ \ $2
|
2008/06/01\ gift\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ \ $1\ \ \ \ \ \ \ \ \ \ \ $2
|
||||||
2008/06/02\ save\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ \ $1
|
2008/06/02\ save\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ $1
|
||||||
2008/12/31\ pay\ off\ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ \ \ 0
|
2008/12/31\ pay\ off\ \ \ \ \ \ \ \ \ \ \ \ \ \ assets:bank:checking\ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ \ 0
|
||||||
\f[]
|
\f[]
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
@ -2665,8 +2665,8 @@ interval, aggregating the postings to each account:
|
|||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
$\ hledger\ register\ \-\-monthly\ income
|
$\ hledger\ register\ \-\-monthly\ income
|
||||||
2008/01\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ income:salary\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ $\-1
|
2008/01\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ income:salary\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ $\-1
|
||||||
2008/06\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ income:gifts\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ $\-2
|
2008/06\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ income:gifts\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ $\-2
|
||||||
\f[]
|
\f[]
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
@ -2677,18 +2677,18 @@ see them:
|
|||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
$\ hledger\ register\ \-\-monthly\ income\ \-E
|
$\ hledger\ register\ \-\-monthly\ income\ \-E
|
||||||
2008/01\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ income:salary\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ $\-1
|
2008/01\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ income:salary\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ $\-1
|
||||||
2008/02\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \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\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 0\ \ \ \ \ \ \ \ \ \ $\-2
|
||||||
\f[]
|
\f[]
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
@ -2699,9 +2699,9 @@ aggregated:
|
|||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
$\ hledger\ register\ \-\-monthly\ assets\ \-\-depth\ 1h
|
$\ hledger\ register\ \-\-monthly\ assets\ \-\-depth\ 1h
|
||||||
2008/01\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $1\ \ \ \ \ \ \ \ \ \ \ \ $1
|
2008/01\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $1\ \ \ \ \ \ \ \ \ \ \ $1
|
||||||
2008/06\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ \ \ 0
|
2008/06\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ \ 0
|
||||||
2008/12\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ \ $\-1
|
2008/12\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ assets\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $\-1\ \ \ \ \ \ \ \ \ \ $\-1
|
||||||
\f[]
|
\f[]
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
@ -2721,7 +2721,7 @@ The description and account columns normally share the space equally
|
|||||||
(about half of (width \- 40) each).
|
(about half of (width \- 40) each).
|
||||||
You can adjust this by adding a description width as part of
|
You can adjust this by adding a description width as part of
|
||||||
\-\-width\[aq]s argument, comma\-separated: \f[C]\-\-width\ W,D\f[] .
|
\-\-width\[aq]s argument, comma\-separated: \f[C]\-\-width\ W,D\f[] .
|
||||||
Here\[aq]s a diagram:
|
Here\[aq]s a diagram (won\[aq]t display correctly in \-\-help):
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
@ -2740,7 +2740,7 @@ $\ hledger\ reg\ \-w\ 100\ \ \ \ \ \ \ \ \ \ \ \ \ \ #\ use\ width\ 100
|
|||||||
$\ COLUMNS=100\ hledger\ reg\ \ \ \ \ \ \ \ \ #\ set\ with\ one\-time\ environment\ variable
|
$\ COLUMNS=100\ hledger\ reg\ \ \ \ \ \ \ \ \ #\ set\ with\ one\-time\ environment\ variable
|
||||||
$\ export\ COLUMNS=100;\ hledger\ reg\ #\ set\ till\ session\ end\ (or\ window\ resize)
|
$\ export\ COLUMNS=100;\ hledger\ reg\ #\ set\ till\ session\ end\ (or\ window\ resize)
|
||||||
$\ hledger\ reg\ \-w\ 100,40\ \ \ \ \ \ \ \ \ \ \ #\ set\ overall\ width\ 100,\ description\ width\ 40
|
$\ hledger\ reg\ \-w\ 100,40\ \ \ \ \ \ \ \ \ \ \ #\ set\ overall\ width\ 100,\ description\ width\ 40
|
||||||
$\ hledger\ reg\ \-w\ $COLUMNS,40\ \ \ \ \ \ #\ use\ terminal\ width,\ and\ set\ description\ width
|
$\ hledger\ reg\ \-w\ $COLUMNS,40\ \ \ \ \ \ #\ use\ terminal\ width,\ &\ description\ width\ 40
|
||||||
\f[]
|
\f[]
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
|
|||||||
@ -2142,10 +2142,10 @@ and their running total. This is typically used with a query selecting
|
|||||||
a particular account, to see that account's activity:
|
a particular account, to see that account's activity:
|
||||||
|
|
||||||
$ hledger register checking
|
$ hledger register checking
|
||||||
2008/01/01 income assets:bank:checking $1 $1
|
2008/01/01 income assets:bank:checking $1 $1
|
||||||
2008/06/01 gift assets:bank:checking $1 $2
|
2008/06/01 gift assets:bank:checking $1 $2
|
||||||
2008/06/02 save assets:bank:checking $-1 $1
|
2008/06/02 save assets:bank:checking $-1 $1
|
||||||
2008/12/31 pay off assets:bank:checking $-1 0
|
2008/12/31 pay off assets:bank:checking $-1 0
|
||||||
|
|
||||||
With -date2, it shows and sorts by secondary date instead.
|
With -date2, it shows and sorts by secondary date instead.
|
||||||
|
|
||||||
@ -2154,9 +2154,9 @@ prior postings to the running total. This is useful when you want to
|
|||||||
see only recent activity, with a historically accurate running balance:
|
see only recent activity, with a historically accurate running balance:
|
||||||
|
|
||||||
$ hledger register checking -b 2008/6 --historical
|
$ hledger register checking -b 2008/6 --historical
|
||||||
2008/06/01 gift assets:bank:checking $1 $2
|
2008/06/01 gift assets:bank:checking $1 $2
|
||||||
2008/06/02 save assets:bank:checking $-1 $1
|
2008/06/02 save assets:bank:checking $-1 $1
|
||||||
2008/12/31 pay off assets:bank:checking $-1 0
|
2008/12/31 pay off assets:bank:checking $-1 0
|
||||||
|
|
||||||
The '--depth' option limits the amount of sub-account detail
|
The '--depth' option limits the amount of sub-account detail
|
||||||
displayed.
|
displayed.
|
||||||
@ -2174,33 +2174,33 @@ transactions of the postings which would normally be shown.
|
|||||||
interval, aggregating the postings to each account:
|
interval, aggregating the postings to each account:
|
||||||
|
|
||||||
$ hledger register --monthly income
|
$ hledger register --monthly income
|
||||||
2008/01 income:salary $-1 $-1
|
2008/01 income:salary $-1 $-1
|
||||||
2008/06 income:gifts $-1 $-2
|
2008/06 income:gifts $-1 $-2
|
||||||
|
|
||||||
Periods with no activity, and summary postings with a zero amount,
|
Periods with no activity, and summary postings with a zero amount,
|
||||||
are not shown by default; use the '--empty'/'-E' flag to see them:
|
are not shown by default; use the '--empty'/'-E' flag to see them:
|
||||||
|
|
||||||
$ hledger register --monthly income -E
|
$ hledger register --monthly income -E
|
||||||
2008/01 income:salary $-1 $-1
|
2008/01 income:salary $-1 $-1
|
||||||
2008/02 0 $-1
|
2008/02 0 $-1
|
||||||
2008/03 0 $-1
|
2008/03 0 $-1
|
||||||
2008/04 0 $-1
|
2008/04 0 $-1
|
||||||
2008/05 0 $-1
|
2008/05 0 $-1
|
||||||
2008/06 income:gifts $-1 $-2
|
2008/06 income:gifts $-1 $-2
|
||||||
2008/07 0 $-2
|
2008/07 0 $-2
|
||||||
2008/08 0 $-2
|
2008/08 0 $-2
|
||||||
2008/09 0 $-2
|
2008/09 0 $-2
|
||||||
2008/10 0 $-2
|
2008/10 0 $-2
|
||||||
2008/11 0 $-2
|
2008/11 0 $-2
|
||||||
2008/12 0 $-2
|
2008/12 0 $-2
|
||||||
|
|
||||||
Often, you'll want to see just one line per interval. The '--depth'
|
Often, you'll want to see just one line per interval. The '--depth'
|
||||||
option helps with this, causing subaccounts to be aggregated:
|
option helps with this, causing subaccounts to be aggregated:
|
||||||
|
|
||||||
$ hledger register --monthly assets --depth 1h
|
$ hledger register --monthly assets --depth 1h
|
||||||
2008/01 assets $1 $1
|
2008/01 assets $1 $1
|
||||||
2008/06 assets $-1 0
|
2008/06 assets $-1 0
|
||||||
2008/12 assets $-1 $-1
|
2008/12 assets $-1 $-1
|
||||||
|
|
||||||
Note when using report intervals, if you specify start/end dates
|
Note when using report intervals, if you specify start/end dates
|
||||||
these will be adjusted outward if necessary to contain a whole number of
|
these will be adjusted outward if necessary to contain a whole number of
|
||||||
@ -2223,7 +2223,7 @@ a bash shell variable) or by using the '--width'/'-w' option.
|
|||||||
The description and account columns normally share the space equally
|
The description and account columns normally share the space equally
|
||||||
(about half of (width - 40) each). You can adjust this by adding a
|
(about half of (width - 40) each). You can adjust this by adding a
|
||||||
description width as part of -width's argument, comma-separated:
|
description width as part of -width's argument, comma-separated:
|
||||||
'--width W,D' . Here's a diagram:
|
'--width W,D' . Here's a diagram (won't display correctly in -help):
|
||||||
|
|
||||||
<--------------------------------- width (W) ---------------------------------->
|
<--------------------------------- width (W) ---------------------------------->
|
||||||
date (10) description (D) account (W-41-D) amount (12) balance (12)
|
date (10) description (D) account (W-41-D) amount (12) balance (12)
|
||||||
@ -2236,7 +2236,7 @@ $ hledger reg -w 100 # use width 100
|
|||||||
$ COLUMNS=100 hledger reg # set with one-time environment variable
|
$ COLUMNS=100 hledger reg # set with one-time environment variable
|
||||||
$ export COLUMNS=100; hledger reg # set till session end (or window resize)
|
$ export COLUMNS=100; hledger reg # set till session end (or window resize)
|
||||||
$ hledger reg -w 100,40 # set overall width 100, description width 40
|
$ hledger reg -w 100,40 # set overall width 100, description width 40
|
||||||
$ hledger reg -w $COLUMNS,40 # use terminal width, and set description width
|
$ hledger reg -w $COLUMNS,40 # use terminal width, & description width 40
|
||||||
|
|
||||||
This command also supports output destination and output format
|
This command also supports output destination and output format
|
||||||
selection.
|
selection.
|
||||||
@ -2785,53 +2785,53 @@ Node: print-unique74861
|
|||||||
Ref: #print-unique74987
|
Ref: #print-unique74987
|
||||||
Node: register75272
|
Node: register75272
|
||||||
Ref: #register75399
|
Ref: #register75399
|
||||||
Node: Custom register output79292
|
Node: Custom register output79268
|
||||||
Ref: #custom-register-output79421
|
Ref: #custom-register-output79397
|
||||||
Node: register-match80651
|
Node: register-match80659
|
||||||
Ref: #register-match80785
|
Ref: #register-match80793
|
||||||
Node: rewrite81136
|
Node: rewrite81144
|
||||||
Ref: #rewrite81251
|
Ref: #rewrite81259
|
||||||
Node: Re-write rules in a file83100
|
Node: Re-write rules in a file83108
|
||||||
Ref: #re-write-rules-in-a-file83234
|
Ref: #re-write-rules-in-a-file83242
|
||||||
Node: Diff output format84444
|
Node: Diff output format84452
|
||||||
Ref: #diff-output-format84613
|
Ref: #diff-output-format84621
|
||||||
Node: rewrite vs print --auto85705
|
Node: rewrite vs print --auto85713
|
||||||
Ref: #rewrite-vs.-print---auto85884
|
Ref: #rewrite-vs.-print---auto85892
|
||||||
Node: roi86440
|
Node: roi86448
|
||||||
Ref: #roi86538
|
Ref: #roi86546
|
||||||
Node: stats87550
|
Node: stats87558
|
||||||
Ref: #stats87649
|
Ref: #stats87657
|
||||||
Node: tags88403
|
Node: tags88411
|
||||||
Ref: #tags88501
|
Ref: #tags88509
|
||||||
Node: test88731
|
Node: test88739
|
||||||
Ref: #test88815
|
Ref: #test88823
|
||||||
Node: ADD-ON COMMANDS89576
|
Node: ADD-ON COMMANDS89584
|
||||||
Ref: #add-on-commands89686
|
Ref: #add-on-commands89694
|
||||||
Node: Official add-ons90973
|
Node: Official add-ons90981
|
||||||
Ref: #official-add-ons91113
|
Ref: #official-add-ons91121
|
||||||
Node: api91200
|
Node: api91208
|
||||||
Ref: #api91289
|
Ref: #api91297
|
||||||
Node: ui91341
|
Node: ui91349
|
||||||
Ref: #ui91440
|
Ref: #ui91448
|
||||||
Node: web91498
|
Node: web91506
|
||||||
Ref: #web91587
|
Ref: #web91595
|
||||||
Node: Third party add-ons91633
|
Node: Third party add-ons91641
|
||||||
Ref: #third-party-add-ons91808
|
Ref: #third-party-add-ons91816
|
||||||
Node: diff91943
|
Node: diff91951
|
||||||
Ref: #diff92040
|
Ref: #diff92048
|
||||||
Node: iadd92139
|
Node: iadd92147
|
||||||
Ref: #iadd92253
|
Ref: #iadd92261
|
||||||
Node: interest92336
|
Node: interest92344
|
||||||
Ref: #interest92457
|
Ref: #interest92465
|
||||||
Node: irr92552
|
Node: irr92560
|
||||||
Ref: #irr92650
|
Ref: #irr92658
|
||||||
Node: Experimental add-ons92781
|
Node: Experimental add-ons92789
|
||||||
Ref: #experimental-add-ons92933
|
Ref: #experimental-add-ons92941
|
||||||
Node: autosync93213
|
Node: autosync93221
|
||||||
Ref: #autosync93324
|
Ref: #autosync93332
|
||||||
Node: chart93563
|
Node: chart93571
|
||||||
Ref: #chart93682
|
Ref: #chart93690
|
||||||
Node: check93753
|
Node: check93761
|
||||||
Ref: #check93855
|
Ref: #check93863
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|||||||
@ -1908,10 +1908,10 @@ COMMANDS
|
|||||||
particular account, to see that account's activity:
|
particular account, to see that account's activity:
|
||||||
|
|
||||||
$ hledger register checking
|
$ hledger register checking
|
||||||
2008/01/01 income assets:bank:checking $1 $1
|
2008/01/01 income assets:bank:checking $1 $1
|
||||||
2008/06/01 gift assets:bank:checking $1 $2
|
2008/06/01 gift assets:bank:checking $1 $2
|
||||||
2008/06/02 save assets:bank:checking $-1 $1
|
2008/06/02 save assets:bank:checking $-1 $1
|
||||||
2008/12/31 pay off assets:bank:checking $-1 0
|
2008/12/31 pay off assets:bank:checking $-1 0
|
||||||
|
|
||||||
With --date2, it shows and sorts by secondary date instead.
|
With --date2, it shows and sorts by secondary date instead.
|
||||||
|
|
||||||
@ -1920,9 +1920,9 @@ COMMANDS
|
|||||||
only recent activity, with a historically accurate running balance:
|
only recent activity, with a historically accurate running balance:
|
||||||
|
|
||||||
$ hledger register checking -b 2008/6 --historical
|
$ hledger register checking -b 2008/6 --historical
|
||||||
2008/06/01 gift assets:bank:checking $1 $2
|
2008/06/01 gift assets:bank:checking $1 $2
|
||||||
2008/06/02 save assets:bank:checking $-1 $1
|
2008/06/02 save assets:bank:checking $-1 $1
|
||||||
2008/12/31 pay off assets:bank:checking $-1 0
|
2008/12/31 pay off assets:bank:checking $-1 0
|
||||||
|
|
||||||
The --depth option limits the amount of sub-account detail displayed.
|
The --depth option limits the amount of sub-account detail displayed.
|
||||||
|
|
||||||
@ -1939,33 +1939,33 @@ COMMANDS
|
|||||||
interval, aggregating the postings to each account:
|
interval, aggregating the postings to each account:
|
||||||
|
|
||||||
$ hledger register --monthly income
|
$ hledger register --monthly income
|
||||||
2008/01 income:salary $-1 $-1
|
2008/01 income:salary $-1 $-1
|
||||||
2008/06 income:gifts $-1 $-2
|
2008/06 income:gifts $-1 $-2
|
||||||
|
|
||||||
Periods with no activity, and summary postings with a zero amount, are
|
Periods with no activity, and summary postings with a zero amount, are
|
||||||
not shown by default; use the --empty/-E flag to see them:
|
not shown by default; use the --empty/-E flag to see them:
|
||||||
|
|
||||||
$ hledger register --monthly income -E
|
$ hledger register --monthly income -E
|
||||||
2008/01 income:salary $-1 $-1
|
2008/01 income:salary $-1 $-1
|
||||||
2008/02 0 $-1
|
2008/02 0 $-1
|
||||||
2008/03 0 $-1
|
2008/03 0 $-1
|
||||||
2008/04 0 $-1
|
2008/04 0 $-1
|
||||||
2008/05 0 $-1
|
2008/05 0 $-1
|
||||||
2008/06 income:gifts $-1 $-2
|
2008/06 income:gifts $-1 $-2
|
||||||
2008/07 0 $-2
|
2008/07 0 $-2
|
||||||
2008/08 0 $-2
|
2008/08 0 $-2
|
||||||
2008/09 0 $-2
|
2008/09 0 $-2
|
||||||
2008/10 0 $-2
|
2008/10 0 $-2
|
||||||
2008/11 0 $-2
|
2008/11 0 $-2
|
||||||
2008/12 0 $-2
|
2008/12 0 $-2
|
||||||
|
|
||||||
Often, you'll want to see just one line per interval. The --depth
|
Often, you'll want to see just one line per interval. The --depth
|
||||||
option helps with this, causing subaccounts to be aggregated:
|
option helps with this, causing subaccounts to be aggregated:
|
||||||
|
|
||||||
$ hledger register --monthly assets --depth 1h
|
$ hledger register --monthly assets --depth 1h
|
||||||
2008/01 assets $1 $1
|
2008/01 assets $1 $1
|
||||||
2008/06 assets $-1 0
|
2008/06 assets $-1 0
|
||||||
2008/12 assets $-1 $-1
|
2008/12 assets $-1 $-1
|
||||||
|
|
||||||
Note when using report intervals, if you specify start/end dates these
|
Note when using report intervals, if you specify start/end dates these
|
||||||
will be adjusted outward if necessary to contain a whole number of
|
will be adjusted outward if necessary to contain a whole number of
|
||||||
@ -1980,7 +1980,7 @@ COMMANDS
|
|||||||
The description and account columns normally share the space equally
|
The description and account columns normally share the space equally
|
||||||
(about half of (width - 40) each). You can adjust this by adding a
|
(about half of (width - 40) each). You can adjust this by adding a
|
||||||
description width as part of --width's argument, comma-separated:
|
description width as part of --width's argument, comma-separated:
|
||||||
--width W,D . Here's a diagram:
|
--width W,D . Here's a diagram (won't display correctly in --help):
|
||||||
|
|
||||||
<--------------------------------- width (W) ---------------------------------->
|
<--------------------------------- width (W) ---------------------------------->
|
||||||
date (10) description (D) account (W-41-D) amount (12) balance (12)
|
date (10) description (D) account (W-41-D) amount (12) balance (12)
|
||||||
@ -1993,7 +1993,7 @@ COMMANDS
|
|||||||
$ COLUMNS=100 hledger reg # set with one-time environment variable
|
$ COLUMNS=100 hledger reg # set with one-time environment variable
|
||||||
$ export COLUMNS=100; hledger reg # set till session end (or window resize)
|
$ export COLUMNS=100; hledger reg # set till session end (or window resize)
|
||||||
$ hledger reg -w 100,40 # set overall width 100, description width 40
|
$ hledger reg -w 100,40 # set overall width 100, description width 40
|
||||||
$ hledger reg -w $COLUMNS,40 # use terminal width, and set description width
|
$ hledger reg -w $COLUMNS,40 # use terminal width, & description width 40
|
||||||
|
|
||||||
This command also supports output destination and output format selec-
|
This command also supports output destination and output format selec-
|
||||||
tion.
|
tion.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user