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