Tabular reports from bal, bs etc. have until now been rendered on the terminal with one final blank line, for readability. This change drops the blank line. This is consistent with the non-tabular balance and register output (not print, which is a special case), and with most unix commands. The real reason for it, which I admit is flimsy, is that I can now omit the final delimiter (>=0) when using shelltestrunner 1.9's new format, making functional tests easier to maintain and more readable. If there's opposition, this could be reverted.
		
			
				
	
	
		
			22 lines
		
	
	
		
			669 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			669 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # issue 219, --tree and --flat flags should override each other cleanly
 | |
| # 1. multiple flags ending with --flat, equivalent to --flat
 | |
| hledger -f balance-multicol.journal bal -MEH --no-total date:2013/1 --tree --flat
 | |
| >>>
 | |
| Ending balances (historical) in 2013/01:
 | |
| 
 | |
|                  || 2013/01/31 
 | |
| =================++============
 | |
|  assets:checking ||         10 
 | |
| >>>= 0
 | |
| 
 | |
| # 2. multiple flags ending with --tree, equivalent to --tree
 | |
| hledger -f balance-multicol.journal bal -MEH --no-total date:2013/1 --flat --tree
 | |
| >>>
 | |
| Ending balances (historical) in 2013/01:
 | |
| 
 | |
|             || 2013/01/31 
 | |
| ============++============
 | |
|  assets     ||         10 
 | |
|    checking ||         10 
 | |
| >>>= 0
 |