diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-13 03:43:51 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-13 03:45:06 -0500 |
commit | c8dd3d28e3ed39ca93f9aac71a127f15c8d65e4b (patch) | |
tree | 5c9f9c862da2b193971a8f506c4d519ec0831ac3 /doc/ledger.1 | |
parent | 2932e05c1841d7154c83ead89f15a664e09ecbf0 (diff) | |
download | fork-ledger-c8dd3d28e3ed39ca93f9aac71a127f15c8d65e4b.tar.gz fork-ledger-c8dd3d28e3ed39ca93f9aac71a127f15c8d65e4b.tar.bz2 fork-ledger-c8dd3d28e3ed39ca93f9aac71a127f15c8d65e4b.zip |
Added --time-report option
This is a rather basic option at the moment which only affects the
balance report. I use it as follows, for entering contractor hours into
a project planning application, where $1 is the contractor's timelog
file, and $2 is the date after which new entries appear in the file:
ledger -f $1 balance \
--account=payee \
--time-report \
-d "latest > [$2]" \
--datetime-format='%m/%d/%y %I:%M %p'
Diffstat (limited to 'doc/ledger.1')
-rw-r--r-- | doc/ledger.1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index 8076c7c4..63017452 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -1,4 +1,4 @@ -.Dd March 10, 2012 +.Dd March 13, 2012 .Dt ledger 1 .Sh NAME .Nm ledger @@ -415,6 +415,7 @@ appeared in the original journal file. .It Fl \-strict .It Fl \-subtotal Pq Fl s .It Fl \-tail Ar INT +.It Fl \-time-report .It Fl \-total Ar EXPR .It Fl \-total-data Pq Fl J .It Fl \-total-width Ar INT |