Use --depth to limit the depth of the account tree displayed

On Tuesday, September 2, 2014, Ivanov Dmitry <[email protected]> wrote:

> Suppose, I have the following ledger file:
>
> 2014/08/07 * Opening Balances
>   Assets:Cash                 $100
>   Equity
>
> 2014/08/08 * Buying Apples
>   Expenses:Food:Apples             $10
>   Assets:Cash
>
> 2014/08/09 * Buying cheese
>   Expenses:Food:Cheese             $5
>   Assets:Cash
>
> 2014/08/10 * Salary
>   Assets:Cash                 $100
>   Income:Salary
>
> Then I generate a balance report:
>
> ledger -f ./test.txt bal Expenses or Income
>
> I get this output:
>
>                  $15  Expenses:Food
>                  $10    Apples
>                   $5    Cheese
>                $-100  Income:Salary
> --------------------
>                 $-85
>
> Is it possible to hide the subaccounts in the report, getting this:
>
>                  $15  Expenses:Food
>                  $-100  Income:Salary
> --------------------
>                 $-85
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Ledger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','ledger-cli%[email protected]');>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to