Improve documentation about --rich-data.

Conflicts:
	doc/ledger.1
This commit is contained in:
thdox 2015-02-12 23:46:37 +01:00
parent 6f6d4ec26c
commit 459f587012
3 changed files with 22 additions and 5 deletions

View file

@ -510,6 +510,12 @@ but not
.Sy Expenses:Entertainment:Dining .
This is a display predicate, which means it only affects display,
not the total calculations.
.It Fl \-detail
Related to
.Ic convert
command. Synonym to
.Fl \-rich-data
option.
.It Fl \-deviation
Report each posting's deviation from the average. It is only meaningful
in the
@ -871,7 +877,10 @@ postings.
.It Fl \-revalued-total
Display the sum of the revalued postings as the running total, which serves
to show unrealized capital in a gain/losses report.
.\".It Fl \-rich-data
.It Fl \-rich-data
When generating ledger transaction from CSV file using the
.Ic convert
command, add CSV, Imported, and UUID meta-data.
.It Fl \-seed Ar INT
Set the random seed to
.Ar INT

View file

@ -6629,10 +6629,8 @@ to show unrealized capital in a gain/losses report.
@item --rich-data
@itemx --detail
@c When generating ledger transaction from csv using the convert command
@c add CSV, Imported, and UUID meta-data.
@c see test/baeline/opt-rich-data.test
@value{FIXME:UNDOCUMENTED}
When generating ledger transaction from CSV file using the
@command{convert} command, add CSV, Imported, and UUID meta-data.
@item --seed @var{INT}
Set the random seed to @var{INT} for the @code{generate} command.

View file

@ -1,3 +1,13 @@
test -f /dev/null convert test/baseline/feat-convert-with-directives.dat --now '2014/08/01'
2012/01/01 * KFC
Expenses:Unknown $10
Equity:Unknown
2012/01/02 * REWE SAGT DANKE 123454321
Expenses:Unknown 10€
Equity:Unknown
end test
test -f /dev/null convert test/baseline/feat-convert-with-directives.dat --detail --now '2014/08/01'
2012/01/01 * KFC
; CSV: 2012/01/01,KFC,$10