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: | and some examples: | ||||||
| ```{.shell .bold} | ```{.shell .bold} | ||||||
| $ hledger reg                 # use terminal width on posix | $ hledger reg                 # use terminal width (or 80 on windows) | ||||||
| $ hledger reg -w 100          # width 100, equal description/account widths | $ hledger reg -w 100          # use width 100 | ||||||
| $ hledger reg -w 100,40       # width 100, wider description | $ COLUMNS=100 hledger reg     # set with one-time environment variable | ||||||
| $ hledger reg -w $COLUMNS,100 # terminal width, and set description width | $ 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 | The register command also supports the | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user