imp:import: also show the file path being imported to

This commit is contained in:
Simon Michael 2023-06-16 09:14:38 -10:00
parent 4faeb7527b
commit 42efbbe4aa

View File

@ -68,4 +68,4 @@ importcmd opts@CliOpts{rawopts_=rawopts,inputopts_=iopts} j = do
-- even if the file uses dos line endings (\r\n), which could leave
-- mixed line endings in the file. See also writeFileWithBackupIfChanged.
foldM_ (`journalAddTransaction` opts) j newts -- gets forced somehow.. (how ?)
printf "imported %d new transactions from %s\n" (length newts) inputstr
printf "imported %d new transactions from %s to %s\n" (length newts) inputstr (journalFilePath j)