diff options
Diffstat (limited to 'pkg/datamaps/config.go')
-rw-r--r-- | pkg/datamaps/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/datamaps/config.go b/pkg/datamaps/config.go index f370ba4..b21da5c 100644 --- a/pkg/datamaps/config.go +++ b/pkg/datamaps/config.go @@ -203,6 +203,8 @@ func processOptions(opts *Options, allArgs []string) { opts.Command = "setup" case "server": opts.Command = "server" + case "createmaster": + opts.Command = "createmaster" default: log.Fatal("No relevant command provided.") } @@ -224,6 +226,8 @@ func processOptions(opts *Options, allArgs []string) { opts.DMOverwrite = true case "--initial": opts.DMInitial = true + case "--masteroutputdir": + opts.MasterOutPutPath = nextString(restArgs, &i, "master output directory required") } } } |