Simon Michael
adef1a8416
lib: add dropRawOpt, cliOptsDropArgs
2025-01-21 22:02:05 -10:00
Simon Michael
0602b241d1
;dev:print: comment
2025-01-11 07:15:18 -10:00
Simon Michael
f3151e3880
;doc:close: mention the balance assertions
2025-01-10 01:19:56 -10:00
Simon Michael
87cc3e1393
imp:close: omit file extension from tag value
2025-01-09 21:26:53 -10:00
Simon Michael
bde97b8f28
;doc: update command docs
2025-01-09 21:19:44 -10:00
Simon Michael
6868ab06a4
imp:close: --migrate -> --clopen; more doc rewrites
2025-01-09 21:19:44 -10:00
Simon Michael
2588e31466
imp:close: change the start: tag to clopen:, and change --assign's tag to assign:
...
And some doc edits.
2025-01-09 15:32:25 -10:00
Simon Michael
5db62b37e1
fix:close: --infer-costs no longer implies -x/--explicit [ #1826 ]
2024-12-27 12:50:26 -10:00
Simon Michael
eb9bb16faa
fix:add: account names provided on command line were being ignored [ #2305 ]
...
Fix suggested by Raphael (lowercasename)
2024-12-20 15:51:15 -10:00
Simon Michael
e71e8a8711
fix:bs/bse/cf/is: drop unsupported --budget option from help [ #2302 ]
2024-12-20 10:41:47 -10:00
Simon Michael
9de9fe7656
;doc: update command docs
2024-12-20 10:41:47 -10:00
Simon Michael
0a14b3a08c
fix:areg: drop inconsistent newline in options help
2024-12-20 10:41:46 -10:00
Dmitry Astapov
dde5a59049
roi: simplify/speed up (no longer checks every day with P directive)
2024-12-18 07:42:13 -10:00
Simon Michael
3a47888534
;doc: Balance report output: drop outdated note about --tree and HTML [ #1846 ]
2024-12-09 18:54:08 -10:00
Simon Michael
b10c0f256c
;doc: common.m4: clean up, update generaloptions macro
2024-12-07 09:22:32 -10:00
Simon Michael
43dd0cfc5d
;dev: cleanups
2024-12-07 08:50:34 -10:00
Simon Michael
f648903b37
imp:print:beancount: don't add account tags to postings
...
When print is generating beancount output, turn off the usual
inheritance of account tags by postings; it would generate excessive
metadata in the journal. Beancount can do or not do that kind of
inheritance itself.
2024-12-06 05:55:42 -10:00
Simon Michael
ff28aa329a
imp:print:beancount: convert tags to BC metadata
...
Transaction and posting tags (and posting tags inherited from accounts)
are now converted safely to Beancount-compatible transaction and posting
metadata lines.
2024-12-06 05:55:42 -10:00
Simon Michael
17332c75f9
imp:print:beancount: generate operating_currency directives from cost currencies
2024-12-06 05:55:42 -10:00
Simon Michael
b4f4374dfa
imp:print:beancount: remove redundant conversion postings automatically
2024-12-06 05:55:42 -10:00
Simon Michael
6e3dfd6703
imp:print:beancount: remove virtual postings automatically
2024-12-06 05:55:42 -10:00
Stephen Morgan
73fd60b2b0
;imp: doc: Document new regular expression limited depth.
2024-12-03 08:33:21 -10:00
Stephen Morgan
74f0f37fb3
imp: queries: Allow regular expression depth queries
...
Previously depth-limiting was universal across all accounts, e.g. all
accounts are clipped to depth 2. However, sometimes you want certain
accounts clipped to a different depth than others, e.g. all expenses to
depth 3, while all assets to depth 2. This commit enables depth-limiting
to optionally include a regular expression, which limits the accounts it
applies to.
More than one depth limit can be passed, and they are applied to each
account name by the following rules:
- If one or more regular-expression depth limit applies, use the
most specific one
- If no regular-expression depth limits apply, and a flat depth limit is
supplied, use that
- Otherwise, do not do any depth limiting
For example, this will clip all accounts matching "assets" to depth 3,
all accounts matching "expenses" to depth 2, and all other accounts to
depth 1.
--depth assets=3 --depth expenses=2 --depth 1
2024-12-03 08:33:21 -10:00
Simon Michael
f345c6c8d9
;doc:import: more edits
2024-12-01 11:22:10 -10:00
Simon Michael
d16efeb26a
;doc:import: edit
2024-11-30 09:25:02 -08:00
Simon Michael
f414c37195
;doc:import: first import tips
2024-11-30 06:57:13 -08:00
Simon Michael
812a7e28d7
;doc:import: updates
2024-11-29 16:18:58 -08:00
Simon Michael
ff649114a7
;doc:import: updates
2024-11-29 16:03:08 -08:00
Simon Michael
3d0aec7e8b
;doc:import: rewrite; date skipping -> overlap detection
2024-11-29 15:45:19 -08:00
Dmitry Astapov
c006959b05
lib: fix division by zero in roi when all assets are sold ( fixes #2281 )
2024-11-06 17:56:36 -10:00
Henning Thielemann
d176215f03
cli: Commands.Aregister: --header -> --heading
2024-11-06 16:38:38 -10:00
Simon Michael
326acbf93b
imp: check recentassertions: try to make the error message clearer
2024-11-02 18:10:53 -10:00
Simon Michael
4d38c63ec8
dev: move/rename nullsourcepos
2024-11-02 14:59:43 -10:00
Simon Michael
657fc1551f
!fix: respect --color=yes in a few places that didn't; drop text-ansi dep
...
Hledger.Utils.IO's ansi style/color helpers now respect --color=yes,
so that eg `hledger --color=yes | less -R` shows bold headings as
you'd expect.
Hledger.Utils.IO.rgb' now takes Float arguments instead of Word8.
2024-11-01 10:40:25 -10:00
Simon Michael
66953ae0be
;doc: pager: note that help -p TOPIC uses less
2024-11-01 08:15:09 -10:00
Simon Michael
30086ae249
imp: run pager more robustly; drop pager lib [ #2272 ]
...
This fixes the error displayed when quitting the pager with long output.
It also replaces the pager lib with more robust homegrown pager utilities,
which should prevent a number of failure modes.
2024-10-31 18:55:09 -10:00
Simon Michael
50bf401ea6
dev: split debug/ghcdebug flags, comment out the latter for now
...
Compilation with ghc-debug is failing, and it has not yet been used
for anything. Separate the flag and leave it in place but commented for now.
2024-10-24 10:44:28 -10:00
Henning Thielemann
e43168533f
cli: Commands.Aregister: replace option --no-header by --header=YN
2024-10-23 21:55:24 -10:00
Henning Thielemann
1a9bfcf5be
cli: Commands.Aregister: implement --invert option
2024-10-23 21:55:24 -10:00
Henning Thielemann
fa3676df7d
doc: Commands.Aregister: motivate --no-header option
2024-10-22 12:05:42 -10:00
Henning Thielemann
93d32a934b
doc: Commands.Aregister: mention --cumulative option
2024-10-22 12:05:42 -10:00
Henning Thielemann
8a56c4944c
cli: Commands.Aregister: new option --no-header
2024-10-22 12:05:42 -10:00
Henning Thielemann
3714ac0593
lib: Write.Ods.printFods: change type of number of fixed rows/columns from (Maybe Int) to Int
...
0 is a perfect value for no fixed row or column.
2024-10-22 12:05:42 -10:00
Henning Thielemann
b2aad52168
cli: Commands.Aregister: support option --cumulative
2024-10-22 12:05:42 -10:00
Simon Michael
0f7242182e
;doc: update help
2024-10-20 09:26:08 -10:00
Henning Thielemann
f1ded22c97
cli: Commands.Register: rename parameter base -> baseUrl
2024-10-20 08:49:36 -10:00
Henning Thielemann
067c5e4db6
cli: Commands.Aregister.htmlRow: replace by call to generic accountTransactionsReportItemAsRecord
2024-10-20 08:49:36 -10:00
Henning Thielemann
4c189dde32
lib: Write.Spreadsheet.integerCell: for transaction indices
2024-10-20 08:49:36 -10:00
Henning Thielemann
7dc3715865
cli: Commands.Aregister: add export to FODS
...
use common Spreadsheet framework for CSV export, too
2024-10-20 08:49:36 -10:00
Simon Michael
f348bb642c
;cli:help: make --pager's help more accurate
...
--pager's "yes" doesn't unconditionally force it on; it behaves more
like --color's "auto". But yes/no is easier to read and understand,
so keep that and just tweak the wording.
2024-10-20 08:18:41 -10:00