Merge pull request #399 from thdox/fix-cleared-format
Fix alignment of cleared-format with 4 spaces as separator.
This commit is contained in:
commit
2922dae227
3 changed files with 4 additions and 4 deletions
|
|
@ -651,7 +651,7 @@ $ ledger -f drewr3.dat cleared
|
|||
$ -20.00 0 MasterCard
|
||||
$ 200.00 0 Mortgage:Principal
|
||||
$ -243.60 0 Tithe
|
||||
---------------- ---------------- ---------
|
||||
---------------- ---------------- ---------
|
||||
$ -243.60 0
|
||||
@end smallexample
|
||||
|
||||
|
|
@ -7172,7 +7172,7 @@ Define the format for the cleared report. The default is:
|
|||
%-(ansify_if(partial_account(options.flat), blue if color))\n%/
|
||||
%$1 %$2 %$3\n%/
|
||||
%(prepend_width ? \" \" * int(prepend_width) : \"\")
|
||||
---------------- ---------------- ---------\n"
|
||||
---------------- ---------------- ---------\n"
|
||||
@end smallexample
|
||||
|
||||
@item --register-format @var{FORMAT_STRING}
|
||||
|
|
|
|||
|
|
@ -496,7 +496,7 @@ public:
|
|||
"%-(ansify_if(partial_account(options.flat), blue if color))\n%/"
|
||||
"%$1 %$2 %$3\n%/"
|
||||
"%(prepend_width ? \" \" * int(prepend_width) : \"\")"
|
||||
"---------------- ---------------- ---------\n");
|
||||
"---------------- ---------------- ---------\n");
|
||||
});
|
||||
|
||||
OPTION(report_t, color);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ test cleared
|
|||
-20 0 F
|
||||
-30 -30 12-Feb-26 G
|
||||
-40 0 H
|
||||
---------------- ---------------- ---------
|
||||
---------------- ---------------- ---------
|
||||
0 0
|
||||
end test
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue