mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
doc: manual: more width-setting examples
This commit is contained in:
parent
2b30ed91a6
commit
b9b0417e41
@ -1818,10 +1818,12 @@ DDDDDDDDDD dddddddddddddddddddd aaaaaaaaaaaaaaaaaaa AAAAAAAAAAAA AAAAAAAAAAAA
|
||||
```
|
||||
and some examples:
|
||||
```{.shell .bold}
|
||||
$ hledger reg # use terminal width on posix
|
||||
$ hledger reg -w 100 # width 100, equal description/account widths
|
||||
$ hledger reg -w 100,40 # width 100, wider description
|
||||
$ hledger reg -w $COLUMNS,100 # terminal width, and set description width
|
||||
$ hledger reg # use terminal width (or 80 on windows)
|
||||
$ 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
|
||||
```
|
||||
|
||||
The register command also supports the
|
||||
|
Loading…
Reference in New Issue
Block a user