Patches are always welcome, but some of these look like bugs, i.e. the "year" directive should be working. I believe "-i" should be working as well. Let's wait for John to wade in here.
On Sun, Sep 8, 2013 at 5:11 AM, Wes Cravens <[email protected]> wrote: > Before I propose some documentation patches I wanted to double check the > following. > > ## From Section 8.2.2 Basic Options > > -i FILE no longer exists? > > wcravens@aberforth:~/Sandbox/ledger$ ledger -i ~/.ledgerrc.bak -f > scratch.dat r > Error: Illegal option -i > > ## From Section 4.7.2 Command Directives > > I'm struggling with the 'year' directive > > wcravens@aberforth:~/Sandbox/ledger$ cat scratch.dat > > ; Test year directive > year 2012 > > 01/01 Scratch > Assets:Checking $1000 > Equity:Opening Bal > > wcravens@aberforth:~/Sandbox/ledger$ ledger -f scratch.dat r > 13-Jan-01 Scratch Assets:Checking $1000 > $1000 > Equity:Opening Bal $-1000 > 0 > > However the 'Y' directive works as expected. > > wcravens@aberforth:~/Sandbox/ledger$ cat scratch.dat > > ; Test year directive > Y 2012 > > 01/01 Scratch > Assets:Checking $1000 > Equity:Opening Bal > > wcravens@aberforth:~/Sandbox/ledger$ ledger -f scratch.dat r > 12-Jan-01 Scratch Assets:Checking $1000 > $1000 > Equity:Opening Bal $-1000 > 0 > > Let me know if some doc patches for these would be welcome. > > -- > Wes Cravens, Founding Member > Moxigen - Oxygen for Moxie > http://moxigen.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/groups/opt_out. -- 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/groups/opt_out.
