diff options
-rw-r--r-- | doc/ledger.1 | 3 | ||||
-rw-r--r-- | doc/ledger3.texi | 2 | ||||
-rw-r--r-- | test/baseline/opt-permissive.test | 19 | ||||
-rw-r--r-- | test/regress/634AA589.test | 19 |
4 files changed, 22 insertions, 21 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index fb434880..9aac44e5 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -679,7 +679,8 @@ For a balance report only those transactions will be accounted in the final balances. .It Fl \-period-sort Sort the posting within transactions using the given value expression. -.\".It Fl \-permissive +.It Fl \-permissive +Quiet balance assertions. .It Fl \-pivot Ar STR Produce a balance pivot report .Nm around diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 9597083c..a05f15db 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -5936,7 +5936,7 @@ Ledger does not expand any aliases if this option is specified. Accounts, tags or commodities not previously declared will cause errors. @item --permissive -FIX THIS ENTRY @c FIXME thdox +Quiet balance assertions. @item --price-db @var{FILE} Specify the location of the price entry data file. diff --git a/test/baseline/opt-permissive.test b/test/baseline/opt-permissive.test index e69de29b..8f8ff031 100644 --- a/test/baseline/opt-permissive.test +++ b/test/baseline/opt-permissive.test @@ -0,0 +1,19 @@ + +; The option --permissive quiets balance assertions + +2014-05-01 * Opening balance + Assets:Cash $100 + Equity:Opening balance + +2014-05-10 * Spend money + Expenses:Foo $10 + Assets:Cash -$10 = $80 + +test bal --permissive + $90 Assets:Cash + $-100 Equity:Opening balance + $10 Expenses:Foo +-------------------- + 0 +end test + diff --git a/test/regress/634AA589.test b/test/regress/634AA589.test deleted file mode 100644 index 8f8ff031..00000000 --- a/test/regress/634AA589.test +++ /dev/null @@ -1,19 +0,0 @@ - -; The option --permissive quiets balance assertions - -2014-05-01 * Opening balance - Assets:Cash $100 - Equity:Opening balance - -2014-05-10 * Spend money - Expenses:Foo $10 - Assets:Cash -$10 = $80 - -test bal --permissive - $90 Assets:Cash - $-100 Equity:Opening balance - $10 Expenses:Foo --------------------- - 0 -end test - |