Simon Michael
2ffed3aec7
check: ordereddates: test --date2, clarify --unique and QUERY dropped
2020-12-31 11:43:51 -08:00
Simon Michael
bb1d49c573
;update CLI usage texts
2020-12-31 11:23:56 -08:00
Simon Michael
01bfeda4fb
;update cabal files
2020-12-31 11:23:36 -08:00
Simon Michael
4491325bb0
;check: ordereddates/uniqueleafnames: print on stderr, refactor
2020-12-31 11:22:32 -08:00
Simon Michael
1d4c4c5b8b
check: drop old checkdates/checkdupes commands, consolidate
2020-12-31 10:49:17 -08:00
Simon Michael
a6ec7bcc11
;check: add tests for all on-demand checks
2020-12-31 10:27:50 -08:00
aragaer
2084b845e0
journal: Ignore AUTO commodity when strict checking
...
AUTO commodity is a placeholder for postings with missing amounts. It
should be ignored when doing a strict commodity check.
Fixes #1419
2020-12-31 09:54:23 -08:00
Simon Michael
8306420b61
check: also check "accounts"/"commodities" on demand
...
(cherry picked from commit 0c2bf54f2955e3a25fd0282acc42608f957abaea)
2020-12-31 08:33:36 -08:00
Simon Michael
652deb04ee
Merge pull request #1435 into master (add "payees" check)
...
Second attempt, repaired version.
2020-12-31 08:31:19 -08:00
Simon Michael
e705386999
;examples: sample: save directives for testing
...
(cherry picked from commit 1e0bc8298119e1dbff6f2191707948a7a77c570a)
2020-12-31 08:29:51 -08:00
Simon Michael
5d8669d4f3
;check: separate func test files for each check
2020-12-31 08:29:15 -08:00
Simon Michael
31ea37a785
;check: accounts, commodities, payees, ordereddates: improve errors
...
Error messages for these four are now a bit fancier and more
consistent. But not yet optimised for machine readability.
Cf #1436 .
Added to hledger-lib: chomp1, linesPrepend[2].
2020-12-30 18:13:34 -08:00
Simon Michael
e59603a04a
;check errors: drop unwanted newline & "strict mode" prefix
2020-12-30 18:08:31 -08:00
Damien Cassou
b47d582583
;check: fixes
2020-12-30 18:08:31 -08:00
Simon Michael
de56d09024
;check: start some functional tests, for payees
2020-12-30 18:08:31 -08:00
Simon Michael
3c232fbd7d
check: add "payees" check requiring payee declarations
2020-12-30 18:08:30 -08:00
Damien Cassou
e092b38631
;lib: add 'payee' directive
2020-12-30 18:08:30 -08:00
Simon Michael
8ab2316604
;cli: doc: data formats: wording
2020-12-30 17:06:01 -08:00
Stephen Morgan
a64d1aa6d0
bin: Update bin scripts for current hledger-lib.
...
(cherry picked from commit bc4aef17b7fa13ec0754b93325e1c5e5ee04f1e7)
2020-12-30 08:59:03 -08:00
Simon Michael
06b466d847
ci: also test compilation of bin/ add-on scripts
2020-12-30 08:59:03 -08:00
Simon Michael
88ccd87c47
;install: bump to hledger* 1.20.2
2020-12-29 10:40:33 -08:00
Simon Michael
6b353c47b0
;make unittest: fix
2020-12-29 10:32:17 -08:00
Simon Michael
22c6f056c2
;update manuals
2020-12-29 10:27:48 -08:00
Simon Michael
6f08631be3
;doc: changelog updates
2020-12-29 10:21:27 -08:00
Simon Michael
a5f9f8ce0c
;update CLI usage texts
2020-12-29 09:43:24 -08:00
Simon Michael
8a046aef5b
;make tag: don't tag project by default
...
What should go in the project changelog and when the
project's .version should update is still unclear,
more cleanup needed.
(cherry picked from commit c14e6a6544
)
2020-12-29 09:40:40 -08:00
Simon Michael
21ba9cc21e
;ci: linux: notes
...
(cherry picked from commit 23a7b1a71d
)
2020-12-29 09:40:31 -08:00
Simon Michael
4a48e5f8aa
;doc: changelogs
...
(cherry picked from commit 3031c0e7b9
)
2020-12-29 09:39:35 -08:00
Simon Michael
4ce681348d
;update changelogs
...
(cherry picked from commit 1b38996158
)
2020-12-29 09:38:58 -08:00
Simon Michael
d99c5e3087
;Shake changelogs: avoid an error with untagged release version
...
(cherry picked from commit b102c2ca5d
)
2020-12-29 09:38:41 -08:00
Simon Michael
81b07dd6f5
;Shake changelogs: reduce excessive whitespace
...
(cherry picked from commit 7b13778a29
)
2020-12-29 09:38:33 -08:00
Simon Michael
f2d2272737
;update changelogs
...
(cherry picked from commit 15e290955f
)
2020-12-29 09:37:54 -08:00
Simon Michael
d126ceead2
;cli: tests: allow func tests to run on NixOS
2020-12-28 15:23:51 -08:00
Simon Michael
21ce0c30cc
;print: cleanup; discuss unbalanced output ( #1429 )
2020-12-28 07:07:45 -08:00
Simon Michael
9ff53ab1e0
;cli: convert cli.test to latest format
2020-12-28 06:28:31 -08:00
Simon Michael
323303daba
;cli: another fix for 4330427f
2020-12-28 06:24:56 -08:00
Simon Michael
06675bfec4
;cli, ui: fixes for yesterday's 4330427f
2020-12-27 12:20:50 -08:00
Simon Michael
b66d8f0f3c
;update manuals
2020-12-26 17:29:02 -08:00
Simon Michael
cee1c69ac0
;update CLI usage texts
2020-12-26 17:28:47 -08:00
Simon Michael
4330427f6b
cli: make --help/--version always CMD-specific
...
This simplifies the --help/-h and --version flags by making them
position independent: no matter where they appear in the command line,
if there is a command argument they will show the command's help or
version (where applicable), instead of the hledger executable's.
2020-12-26 17:27:28 -08:00
Simon Michael
12447ffab7
;lib: restore list of hledger debug levels
2020-12-26 17:27:28 -08:00
Simon Michael
ae9595c321
cli/help: --info/--man/help show CMD/topic-specific docs
...
hledger CMD --info will now open CMD's info node,
hledger CMD --man will scroll the man page to CMD's section, and
hledger help -i/-m/-p TOPIC will do similar.
This is not perfectly robust but hopefully will be good enough in
practice.
Also the help command's long --info/--man/--pager flags have been
dropped in favour of -i/-m/-p.
2020-12-26 17:27:28 -08:00
Simon Michael
54af71a0b1
cli: general --man, --info flags show the manual
2020-12-26 17:27:28 -08:00
Simon Michael
f20cd2b112
help: show only the hledger manual, for now
2020-12-26 17:27:27 -08:00
Simon Michael
7d3f05b16a
help: add -i/-m/-p short flags
2020-12-26 17:27:27 -08:00
Simon Michael
9beff54b27
help: drop --cat
2020-12-26 17:27:27 -08:00
Simon Michael
ab55be6d64
;doc: link updates
2020-12-26 17:27:27 -08:00
Simon Michael
28bcd9aadc
;doc: reference manuals -> user manuals
2020-12-26 17:27:27 -08:00
Simon Michael
201ea210fb
;cli: doc: intro wording
2020-12-26 17:27:27 -08:00
Simon Michael
8a16b2b1b0
;update CLI usage texts
2020-12-26 08:21:45 -08:00