From f0b6e7f46833fd0781dc875451548e342936edc1 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 28 May 2023 16:06:39 +0100 Subject: Add some more documentation to Options --- src/Main.hs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Main.hs b/src/Main.hs index 9d16c0d..2e9ebe4 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -218,14 +218,23 @@ import Zettel -- data Options = Options - { optBibliography :: Maybe FilePath, + { -- | Bibliography FILE (default: references.bib) + optBibliography :: Maybe FilePath, + -- | Bibliography FILE (default: bibliography.org) optOrgBibliography :: Maybe FilePath, + -- | Csl FILE optCsl :: Maybe FilePath, + -- | Index FILE (default: org-zettelkasten-index) optIndex :: Maybe FilePath, + -- | output DIR optOutput :: Maybe FilePath, + -- | Verbose output while processing files optVerbose :: Int, + -- | Suppress all output optQuiet :: Bool, + -- | Show current version optShowVersion :: Bool, + -- | Show this help menu optShowHelp :: Bool } deriving (Show, Eq) -- cgit