Use callbacks in struct instead of args to Load*().
[lightning.git] / export.go
index c74baeb6451ef9374069d53f449f8b947e1d93a4..1ea08fe75704b6b44e786589272d79e943aa01f2 100644 (file)
--- a/export.go
+++ b/export.go
@@ -175,7 +175,7 @@ func (cmd *exporter) RunCommand(prog string, args []string, stdin io.Reader, std
                retainTileSequences: true,
                compactGenomes:      map[string][]tileVariantID{},
        }
-       err = tilelib.LoadDir(context.Background(), *inputDir, nil)
+       err = tilelib.LoadDir(context.Background(), *inputDir)
        if err != nil {
                return 1
        }