summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.go b/config.go
index 26f48ee7..def7dabb 100644
--- a/config.go
+++ b/config.go
@@ -15,6 +15,7 @@ type Config struct {
ExcludeGlob []string
OutputFiles []string
OutputDir string
+ OutputMap string
OutMode string
DataSources []string
@@ -81,6 +82,8 @@ func (o *Config) String() string {
c += "\noutput: "
if o.InputDir != "" && o.OutputDir != "." {
c += o.OutputDir
+ } else if o.OutputMap != "" {
+ c += o.OutputMap
} else {
c += strings.Join(o.OutputFiles, ", ")
}