Update example to use new apply account directive

Update the example in the manual to use the new apply account/end apply
directive, as announced be John here:
http://groups.google.com/group/ledger-cli/tree/browse_frm/month/2012-02/977e5dd90a55efca
This commit is contained in:
Martin Michlmayr 2012-03-22 22:55:54 +00:00
parent 6ff2257f30
commit 2f7b7762c2

View file

@ -902,7 +902,7 @@ file:
And two in your company ledger file: And two in your company ledger file:
@smallexample @smallexample
!account Company XYZ apply account Company XYZ
2004/09/29 Circuit City 2004/09/29 Circuit City
Expenses:Computer:Software $100.00 Expenses:Computer:Software $100.00
@ -912,10 +912,10 @@ And two in your company ledger file:
Accounts Payable:Your Name $100.00 Accounts Payable:Your Name $100.00
Assets:Checking $-100.00 Assets:Checking $-100.00
!end end apply account
@end smallexample @end smallexample
(Note: The @samp{!account} above means that all accounts mentioned in (Note: The @samp{apply account} above means that all accounts mentioned in
the file are children of that account. In this case it means that all the file are children of that account. In this case it means that all
activity in the file relates to Company XYZ). activity in the file relates to Company XYZ).