dev:commands: don't require a journal file

This commit is contained in:
Simon Michael 2025-03-05 11:37:25 -10:00
parent 4eb98a761a
commit f97954a796

View File

@ -412,7 +412,7 @@ main = withGhcDebug' $ do
| manFlag -> runManForTopic "hledger" mmodecmdname
-- 6.5.2. builtin command which should not require or read the journal - run it
| cmdname `elem` ["demo","help","test"] ->
| cmdname `elem` ["commands","demo","help","test"] ->
cmdaction opts (ignoredjournal cmdname)
-- 6.5.3. builtin command which should create the journal if missing - do that and run it