Commit Graph

14013 Commits

Author SHA1 Message Date
Simon Michael
877ab3e5b0 fix:cli: clearer unknown command & flag error; accept addon flags [#2388] [#458]
When given an unknown command and an unknown flag, we now prioritise
showing the unknown command error. [#2388]

This fix, on top of prior work, also solves a long standing CLI/UX
problem we've had with addon commands: now you can freely mix in
addon-specific options in a hledger command line, and hledger won't
complain. Ie, writing -- before addon flags is no longer needed. \o/
2025-06-15 12:47:59 -10:00
Simon Michael
245a0bec62 ;doc: update embedded manuals 2025-06-15 07:32:40 -10:00
Simon Michael
e473fc9794 ;doc: update command docs 2025-06-15 07:32:40 -10:00
Simon Michael
4a5775da71 imp: commodities/payees/tags: used/declared flags, like accounts
And general cleanup of options and help across
the accounts, commodities, payees, tags commands.
2025-06-15 07:32:40 -10:00
Simon Michael
38aadddf7b dev: Hledger.Query.matchesCommodity: check all query types, not just cur:
And default to False (unlike the other match functions. Ok ?)
2025-06-15 07:32:40 -10:00
Simon Michael
13109ac280 dev: number the payees tests 2025-06-14 17:36:28 -10:00
Simon Michael
b8f12e3908 ;doc: print: improve --location help 2025-06-14 17:36:28 -10:00
Simon Michael
de9c487f58 ;ci: caching note 2025-06-13 22:03:37 -10:00
Simon Michael
3f7a9f97f9 fix:help: -i and -m were always showing help's help [#2399] 2025-06-13 21:47:58 -10:00
Simon Michael
ce0cd344b5 ci: more consistent, platform- and ghc-specific cache keys
These github caches created once and never updated; so it's important
to have keys that are specific enough that it doesn't
(a) waste time restoring cached data that we won't be able to use
(b) fail to cache new data because it thinks the old cache was used.
2025-06-13 21:00:42 -10:00
Simon Michael
ccb0033e31 ci: more consistent ghc version env var 2025-06-13 20:48:53 -10:00
Simon Michael
6cde1a3ff7 ci: more consistent images, image notes 2025-06-13 20:41:43 -10:00
Simon Michael
c730eed3e6 ci:oldest: fix ghc version in cache keys 2025-06-13 20:41:30 -10:00
Simon Michael
2c733538d5 ci: no need to install ripgrep 2025-06-13 18:18:25 -10:00
Simon Michael
9cd633ace6 ;tools:checkembeddedfiles: use standard unix tools
rg isn't in github images
2025-06-13 18:18:25 -10:00
Simon Michael
6b19f24c5f ci: fix ghc version in cache keys 2025-06-13 18:03:54 -10:00
Simon Michael
c3bd6f36b4 ;ci: don't bother tar-ing these binaries 2025-06-13 17:34:11 -10:00
Simon Michael
9c56c29fab doc: RELEASING 2025-06-13 17:19:35 -10:00
Simon Michael
4eadf74408 ;ci: stack paths test: edits 2025-06-13 16:36:43 -10:00
Simon Michael
2edc0e4d20 ;ci: stack paths test: edits 2025-06-13 16:29:37 -10:00
Simon Michael
fc46ddffe3 ;ci: stack paths test: edits 2025-06-13 16:27:57 -10:00
Simon Michael
2abb717f49 ;ci: stack paths test: edits 2025-06-13 16:23:22 -10:00
Simon Michael
1b7fc3fb7d ;ci: stack paths test: edits 2025-06-13 16:11:36 -10:00
Simon Michael
65f01adc3d ;ci: stack paths test: edits 2025-06-13 16:09:59 -10:00
Simon Michael
de84a3e8bc ;ci: stack paths test: edits 2025-06-13 16:05:21 -10:00
Simon Michael
bf5707d131 ;ci: stack paths test: edits 2025-06-13 16:03:23 -10:00
Simon Michael
da6df3702d ;ci: test step showing stack paths 2025-06-13 15:57:40 -10:00
Simon Michael
e9be7ea7f5 ;doc:add: edits 2025-06-13 12:31:56 -10:00
Simon Michael
1e9bd3c2c9 ;doc:add: edits 2025-06-13 12:26:34 -10:00
Simon Michael
e434c0101e ;doc:relnotes: 1.43.2 2025-06-13 12:05:20 -10:00
Simon Michael
d3c86bafdf ;doc: finalise changelogs for 1.43.2 on 2025-06-13 2025-06-13 12:05:20 -10:00
Simon Michael
cc95eca1ce ;doc: update changelogs 2025-06-13 12:05:20 -10:00
Simon Michael
e0fb08ee9b ;doc: REGRESSIONS 2025-06-13 11:31:19 -10:00
Simon Michael
9da947f3f5 ;doc:ghnightly:1.43.2 2025-06-13 11:28:05 -10:00
Simon Michael
3b1bd92cf2 ;doc: add: balance assignments: mention -I [#2406] 2025-06-13 10:29:23 -10:00
Simon Michael
5514c926b9 ;doc:ghnightly: go back to comparing with binaries branch
it's more reliable
2025-06-13 10:23:57 -10:00
Simon Michael
db6488ba95 ;doc:ghnightly: compare with nightly tag, not binaries branch 2025-06-13 10:02:39 -10:00
Simon Michael
e716c3f054 ;doc:dev 2025-06-13 09:35:26 -10:00
Simon Michael
b75a730250 ;tools: nightly-push: edits 2025-06-13 09:19:28 -10:00
Simon Michael
53120e86bc ;doc: update embedded manuals 2025-06-13 09:11:44 -10:00
Simon Michael
a823a719f2 ;tools:just: rename some nightly recipes 2025-06-13 09:10:54 -10:00
Simon Michael
bd2d8728d1 fix: txn balancing: fix logic for the 1.50 message [#2402]
and add more tests.
2025-06-13 09:10:46 -10:00
Simon Michael
3713a1b77b ;fix:doc:add: document balance assertions/assignments behaviour [#2406] 2025-06-13 07:36:45 -10:00
Simon Michael
8a03b2ee89 ;examples:csv:eternl.rules 2025-06-13 07:35:47 -10:00
Simon Michael
219f7a7ec3 ;doc: ghnightlynotes 2025-06-12 20:39:00 -10:00
Simon Michael
62e3b57564 ;dev:tests: add missing file 2025-06-12 19:41:10 -10:00
Simon Michael
986a55218b ;doc: update embedded manuals 2025-06-12 19:06:40 -10:00
Simon Michael
16fd84166a ;dev: cleanup 2025-06-12 18:48:48 -10:00
Simon Michael
57031b0e78 dev: rename exitOnError -> handleExit, improve doc 2025-06-12 18:48:10 -10:00
Simon Michael
0750a27d00 dev: ignore SIGPIPE errors from truncated output in a more robust way [#2405] 2025-06-12 18:36:41 -10:00