lib: update documentation for globs in 'include' directive

This commit is contained in:
Joseph Weston 2018-07-24 23:48:56 +02:00 committed by Simon Michael
parent f2c1586238
commit 1fca47cf18

View File

@ -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. 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. The `include` directive can only be used in journal files.
It can include journal, timeclock or timedot files, but not CSV files. It can include journal, timeclock or timedot files, but not CSV files.