mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
imp:import: also show the file path being imported to
This commit is contained in:
parent
4faeb7527b
commit
42efbbe4aa
@ -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
|
-- even if the file uses dos line endings (\r\n), which could leave
|
||||||
-- mixed line endings in the file. See also writeFileWithBackupIfChanged.
|
-- mixed line endings in the file. See also writeFileWithBackupIfChanged.
|
||||||
foldM_ (`journalAddTransaction` opts) j newts -- gets forced somehow.. (how ?)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user