diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-01-27 21:52:35 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-01-27 21:52:35 +0100 |
commit | fcb040f643d5050f776663504bd106b54274abba (patch) | |
tree | cab258193187eab38664fa31c6a8ea16d4b4c320 | |
parent | f6fa4de9c5387ec0a60232d7295c0dae624cf029 (diff) | |
parent | 991b3f25b187564ac13df739a92b0721ebe7c6a7 (diff) | |
download | ledger-fcb040f643d5050f776663504bd106b54274abba.tar.gz ledger-fcb040f643d5050f776663504bd106b54274abba.tar.bz2 ledger-fcb040f643d5050f776663504bd106b54274abba.zip |
Merge pull request #383 from thdox/add-to-doc2
Add documentation for option --permissive.
[ci skip]
-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 - |