--metadata-file: when multiple files specified, second takes precedence...

on conflicting fields.  This changes earlier behavior (but not in
a release), where first took precedence.

Note that this may seem inconsistent with the behavior of
multiple YAML blocks within a document, where the first takes
precedence.  Still, it is convenient to be able to override
defaults with options later on the command line.
This commit is contained in:
John MacFarlane
2019-10-10 10:00:45 -07:00
parent 68b09a6d81
commit a3cd74c29b
5 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -1 +1 @@
title: Multiple metadata files test
title: This title should be overridden by 5700-metadta-file-2.yml
+1 -1
View File
@@ -1,2 +1,2 @@
title: This title should be overridden by 5700-metadta-file-2.yml
title: Multiple metadata files test
desc: Both of these files should be loaded.