cli: clarify "hledger add" command in no journal file error
This commit is contained in:
parent
41a58609fb
commit
431ef894e0
@ -175,7 +175,7 @@ requireJournalFileExists f = do
|
|||||||
exists <- doesFileExist f
|
exists <- doesFileExist f
|
||||||
when (not exists) $ do
|
when (not exists) $ do
|
||||||
hPrintf stderr "The hledger journal file \"%s\" was not found.\n" f
|
hPrintf stderr "The hledger journal file \"%s\" was not found.\n" f
|
||||||
hPrintf stderr "Please create it first, eg with hledger add or a text editor.\n"
|
hPrintf stderr "Please create it first, eg with \"hledger add\" or a text editor.\n"
|
||||||
hPrintf stderr "Or, specify an existing journal file with -f or LEDGER_FILE.\n"
|
hPrintf stderr "Or, specify an existing journal file with -f or LEDGER_FILE.\n"
|
||||||
exitFailure
|
exitFailure
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user