summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-05-28 17:01:31 +0100
committerYann Herklotz <git@yannherklotz.com>2023-05-28 17:09:18 +0100
commite64342adfca94870769f1e0634e343d43921ab2f (patch)
tree5dcd07bc92e9296e00e12fe7859fd86983f4f469
parente2c56390067564f20ebac6a463c5c35bafdb51c8 (diff)
downloadzk-visual-e64342adfca94870769f1e0634e343d43921ab2f.tar.gz
zk-visual-e64342adfca94870769f1e0634e343d43921ab2f.zip
Fix org-zk.cabal syntax
-rw-r--r--org-zk.cabal3
-rw-r--r--src/Main.hs6
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']