From 42efbbe4aa3aa1edba0603ff8bd653ad41fe320a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 16 Jun 2023 09:14:38 -1000 Subject: [PATCH] imp:import: also show the file path being imported to --- hledger/Hledger/Cli/Commands/Import.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/Commands/Import.hs b/hledger/Hledger/Cli/Commands/Import.hs index 9ef936f0a..a92951ce3 100644 --- a/hledger/Hledger/Cli/Commands/Import.hs +++ b/hledger/Hledger/Cli/Commands/Import.hs @@ -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)