diff --git a/hledger/Hledger/Cli.hs b/hledger/Hledger/Cli.hs index 218fc6efa..d6f8c9785 100644 --- a/hledger/Hledger/Cli.hs +++ b/hledger/Hledger/Cli.hs @@ -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