From ce5d87177a9cf214607c88eea94b2ae6c7f80319 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 4 Jun 2015 09:43:15 -0700 Subject: [PATCH] update journalFilePathFromOpts haddock --- hledger/Hledger/Cli/Options.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hledger/Hledger/Cli/Options.hs b/hledger/Hledger/Cli/Options.hs index d514e4606..ab22e4378 100644 --- a/hledger/Hledger/Cli/Options.hs +++ b/hledger/Hledger/Cli/Options.hs @@ -368,6 +368,8 @@ aliasesFromOpts = map (\a -> fromparse $ runParser accountaliasp () ("--alias "+ -- | Get the (tilde-expanded, absolute) journal file path from -- 1. options, 2. an environment variable, or 3. the default. +-- Actually, returns one or more file paths. There will be more +-- than one if multiple -f options were provided. journalFilePathFromOpts :: CliOpts -> IO [String] journalFilePathFromOpts opts = do f <- defaultJournalPath