summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Main.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 506a8c6..4ecd73c 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -205,6 +205,7 @@ import Zettel
data Options = Options
{ optBibliography :: Maybe FilePath,
+ optOrgBibliography :: Maybe FilePath,
optCsl :: Maybe FilePath,
optIndex :: Maybe FilePath,
optOutput :: Maybe FilePath,
@@ -219,6 +220,7 @@ defaultOptions :: Options
defaultOptions =
Options
{ optBibliography = Nothing,
+ optOrgBibliography = Nothing,
optCsl = Nothing,
optIndex = Nothing,
optOutput = Nothing,
@@ -256,6 +258,11 @@ options =
(ReqArg (\f opts -> opts {optOutput = Just f}) "DIR")
"output DIR",
Option
+ []
+ ["org-bibliography"]
+ (ReqArg (\f opts -> opts {optBibliography = Just f}) "FILE")
+ "Bibliography FILE (default: bibliography.org)",
+ Option
['q']
["quiet"]
(NoArg (\opts -> opts {optQuiet = True}))