@@ -54,7 +54,7 @@ data Opt = Opt
5454 , optTemplate :: Maybe FilePath -- ^ Custom template
5555 , optVariables :: [(String,String)] -- ^ Template variables to set
5656 , optMetadata :: [(String, String)] -- ^ Metadata fields to set
57− , optMetadataFile :: Maybe FilePath -- ^ Name of YAML metadata file
57+ , optMetadataFile :: [FilePath] -- ^ Name of YAML metadata file
5858 , optOutputFile :: Maybe FilePath -- ^ Name of output file
5959 , optInputFiles :: [FilePath] -- ^ Names of input files
6060 , optNumberSections :: Bool -- ^ Number sections in LaTeX
@@ -128,7 +128,7 @@ defaultOpts = Opt
128128 , optTemplate = Nothing
129129 , optVariables = []
130130 , optMetadata = []
131− , optMetadataFile = Nothing
131+ , optMetadataFile = []
132132 , optOutputFile = Nothing
133133 , optInputFiles = []
134134 , optNumberSections = False