dev:commands: don't require a journal file
This commit is contained in:
parent
4eb98a761a
commit
f97954a796
@ -412,7 +412,7 @@ main = withGhcDebug' $ do
|
|||||||
| manFlag -> runManForTopic "hledger" mmodecmdname
|
| manFlag -> runManForTopic "hledger" mmodecmdname
|
||||||
|
|
||||||
-- 6.5.2. builtin command which should not require or read the journal - run it
|
-- 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)
|
cmdaction opts (ignoredjournal cmdname)
|
||||||
|
|
||||||
-- 6.5.3. builtin command which should create the journal if missing - do that and run it
|
-- 6.5.3. builtin command which should create the journal if missing - do that and run it
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user