From e64342adfca94870769f1e0634e343d43921ab2f Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 28 May 2023 17:01:31 +0100 Subject: Fix org-zk.cabal syntax --- org-zk.cabal | 3 +-- src/Main.hs | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/org-zk.cabal b/org-zk.cabal index 9273bbf..e08d514 100644 --- a/org-zk.cabal +++ b/org-zk.cabal @@ -24,8 +24,7 @@ description: Exports an Org Zettelkasten to markdown files which can then be -- A URL where users can report bugs. bug-reports: https://lists.sr.ht/~ymherklotz/public-inbox -extra-source-files: - - README.md +extra-source-files: README.md data-files: data/*.template diff --git a/src/Main.hs b/src/Main.hs index ea3cc64..27d16a5 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -285,8 +285,10 @@ options = Option ['i'] ["id"] - (ReqArg (\f opts -> opts {optIndex = opts.optIndex - ++ parseIdList (T.pack f)}) "ID") + ( ReqArg + (\f opts -> opts {optIndex = opts.optIndex ++ parseIdList (T.pack f)}) + "ID" + ) "Only process these IDs", Option ['o'] -- cgit