diff options
-rw-r--r-- | doc/ledger.1 | 11 | ||||
-rw-r--r-- | doc/ledger3.texi | 6 | ||||
-rw-r--r-- | test/baseline/opt-rich-data.test | 10 |
3 files changed, 22 insertions, 5 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index 8284dfa4..8925e6f9 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -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 diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 936a69e0..56796374 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -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. diff --git a/test/baseline/opt-rich-data.test b/test/baseline/opt-rich-data.test index fbb73ebe..265af531 100644 --- a/test/baseline/opt-rich-data.test +++ b/test/baseline/opt-rich-data.test @@ -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 |