Commit graph

68 commits

Author SHA1 Message Date
thdox
6b5ff2aebf Add documentation for --no-pager option.
Minor updates to --pager documentation.
[ci skip]
2015-01-22 00:57:20 +01:00
Alexis Hildebrandt
213f0341c1 [doc] Comment undocumented options in manpage
so that they are reported properly by test/CheckTests.py
2015-01-21 08:03:35 +01:00
Alexis Hildebrandt
9032f49bef [doc] Document some value expressions in manpage
[ci skip]
2015-01-20 17:18:13 +01:00
Alexis Hildebrandt
31b9964e43 [doc] Improve manpage
as suggested by:
%  mandoc -Tlint doc/ledger.1

[ci skip]
2015-01-16 22:32:20 +01:00
Alexis Hildebrandt
a3dbcae348 [doc] Document -i in manpage
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-16 10:41:13 +01:00
Alexis Hildebrandt
cd5be5f432 [doc] Add FILES section to manpage
to mention ~/.ledgerrc more prominently.
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 22:14:41 +01:00
Alexis Hildebrandt
ba207e773b [doc] Improve explanation for start-of-week option
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 22:13:08 +01:00
Alexis Hildebrandt
3bf4d05989 [doc] Minor typographical improvements to manpage
[ci skip]

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 14:53:17 +01:00
Alexis Hildebrandt
01252035cd [doc] Add CheckTests to ctest
to check whether all available ledger options documented
and are being tested.

Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
2015-01-15 14:53:16 +01:00
Alexis Hildebrandt
78858382a5 [doc] Insert Ar to separate argument from option
for --period synonyms like --monthly, et al.
[ci skip]
2015-01-11 03:12:49 +01:00
Alexis Hildebrandt
39a5b180c7 [doc] Insert space to correct punctuation in .Xr macro
[ci skip]
2015-01-10 23:30:38 +01:00
Alexis Hildebrandt
f6fdac3c7c [doc] Insert newline to end .Nm macro
to highlight only the xact keyword

[ci skip]
2015-01-10 23:30:20 +01:00
Alexis Hildebrandt
acfc4f8a8a [doc] Remove trailing whitespace in manpage
since "troff can be confused by blank space characters
at the end of a line." -- mdoc (7)

[ci skip]
2015-01-10 23:29:47 +01:00
Jostein Berntsen
5d90ac7a1d Small doc typo fixes 2015-01-09 00:05:10 +01:00
Martin Michlmayr
8838b468df Format commands properly 2014-06-30 19:19:49 -04:00
Martin Michlmayr
cbdcf27605 Typo fix 2014-06-30 19:16:20 -04:00
Martin Michlmayr
b1a6d2ce16 Document --values 2014-06-30 19:15:35 -04:00
Martin Michlmayr
3bf82068b4 Document --unrealized 2014-06-30 19:10:36 -04:00
Jamie Nguyen
8088502eef Fix man page typo 2014-03-23 23:29:39 +00:00
Peter Feigl
977af3d27c Adding documentation of options to man-page from manual. Fixing a few minor typos and mistakes. 2014-02-27 10:24:38 +01:00
Peter Feigl
ecd5097d51 Adding option --no-aliases to completely disable alias expansion 2014-02-26 23:50:50 +01:00
Peter Feigl
75b0a5d8ff Adding option --recursive-aliases, adding documentation to man-page and manual 2014-02-26 09:29:31 +01:00
Craig Earls
e3cd1045d5 Bugs 726 and 727. Remove reference to draft and lisp commands in man page 2012-10-26 09:59:20 -07:00
Martin Michlmayr
f4e6d30736 Document more commands in the man page 2012-03-25 15:25:39 +01:00
Martin Michlmayr
8e6a3ce0d0 Update manual to say that pricesdb option has been renamed to pricedb 2012-03-23 08:51:21 +00:00
John Wiegley
f9088f8836 Added --verify-memory and missing TRACE_[CD]TOR calls 2012-03-18 01:01:30 -05:00
John Wiegley
22c1b867f0 Added option --day-break 2012-03-17 05:27:43 -05:00
John Wiegley
c8dd3d28e3 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'
2012-03-13 03:45:06 -05:00
John Wiegley
2a4d7e1af0 Added --immediate option 2012-03-10 21:58:28 -06:00
John Wiegley
860610fdaf Added --dc option, for debit/credit style reports 2012-03-10 21:34:51 -06:00
John Wiegley
7b45a664f2 Make --lot-notes the primary name, not --lot-tags 2012-03-10 21:33:31 -06:00
John Wiegley
50f202c4e8 Make --lot-notes a synonym for --lot-tags 2012-03-10 01:01:26 -06:00
John Wiegley
022059f2a8 Added --value-expr option 2012-03-09 20:11:38 -06:00
John Wiegley
59f5ebe2df Reworked the way that options are handled 2012-03-09 03:51:53 -06:00
John Wiegley
113fb0ee6a Added --historical option 2012-03-08 01:00:16 -06:00
John Wiegley
656e46e182 Renamed actual/effective dates to primary/auxiliary 2012-02-28 03:02:16 -06:00
John Wiegley
5532a1a8b7 Added --check-payees option 2012-02-27 11:52:23 -06:00
John Wiegley
61bc7362ca Added new account/payee/commodity directives
Also added supporting options: --explicit, --permissive, --pedantic, as
well as new behavior for --strict.
2012-02-27 02:31:09 -06:00
John Wiegley
aa9b07d79b Added --rich-data for 'convert', and SHA1 checksum checking 2012-02-26 15:45:15 -06:00
John Wiegley
4a18317e7c Added --auto-match option, for use with 'convert' 2012-02-26 02:16:09 -06:00
John Wiegley
81bf38584e Added new --bold-if option 2010-06-22 01:27:05 -04:00
John Wiegley
5da1e7756d Added new option --inject=KEY[,KEY...]
If you have a typed metadata key which contains an amount, you can use
--inject=KEY to inject a posting with that amount wherever a match
occurs.  There are two main forms of usage:

  2010-06-18 Sample
      ; Key:: $100
      Expenses:Food                $100.00
      Assets:Checking

The command would be:

  ledger reg --inject=Key

In the above, transactional form, a posting under the account "Key" will
be injected before the first posting reported for this transaction.
It's amount will be $100.  This only happens once for the whole
transaction.

It is also possible to associate the key with a posting:

  2010-06-18 Sample
      Expenses:Food                $100.00
      ; Key:: $100
      Assets:Checking

Now the injected posting is generated whenever that particular post is
reported.
2010-06-18 02:28:12 -04:00
John Wiegley
76b1ed6850 Corrected list of options shown in the man page 2010-06-15 04:37:05 -04:00
John Wiegley
1413085977 Added a --pivot=TAG option
This is equivalent to the following:

  --account='"TAG:" + tag(/TAG/)'
2010-02-02 17:07:05 -05:00
John Wiegley
d098b116e8 Moved a usage of Ar in the man page 2009-11-13 14:37:54 -05:00
John Wiegley
fea1b42fa9 All commands are now documented in the man page 2009-11-12 02:40:29 -05:00
John Wiegley
dbcaa35d4b Fixed a bug in the man page 2009-03-15 04:05:06 -04:00
John Wiegley
fb9af0f111 Removed the --totals option 2009-03-05 23:26:21 -04:00
John Wiegley
eb45a0a4f4 Normalized how account totals are calculated 2009-03-03 17:08:11 -04:00
John Wiegley
cf2548c29c Several corrections to the man page 2009-03-03 17:03:00 -04:00