--- a/src/FilesystemCommand.h Sat Jan 19 21:16:39 2019 +0100
+++ b/src/FilesystemCommand.h Sat Jan 19 21:21:26 2019 +0100
@@ -82,7 +82,8 @@
else throw RelpipeWriterException(L"Unsupported field group: " + field.group);
}
- writer->startRelation(L"filesystem", attributesMetadata, true);
+ string_t relationName = configuration.relation.empty() ? L"filesystem" : configuration.relation;
+ writer->startRelation(relationName, attributesMetadata, true);
for (std::stringstream originalName; readNext(input, originalName); reset(originalName)) {