From 1fca47cf18723c95916ac32c54bb4c0271895330 Mon Sep 17 00:00:00 2001 From: Joseph Weston Date: Tue, 24 Jul 2018 23:48:56 +0200 Subject: [PATCH] lib: update documentation for globs in 'include' directive --- hledger-lib/hledger_journal.m4.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hledger-lib/hledger_journal.m4.md b/hledger-lib/hledger_journal.m4.md index 091ceae58..a600ddbc0 100644 --- a/hledger-lib/hledger_journal.m4.md +++ b/hledger-lib/hledger_journal.m4.md @@ -698,7 +698,9 @@ include path/to/file.journal ``` If the path does not begin with a slash, it is relative to the current file. -Glob patterns (`*`) are not currently supported. +The include file path may contain +[common glob patterns](https://hackage.haskell.org/package/Glob-0.9.2/docs/System-FilePath-Glob.html#v:compile) +(e.g. `*`). The `include` directive can only be used in journal files. It can include journal, timeclock or timedot files, but not CSV files.