diff --git a/ncmd/options.go b/ncmd/options.go index 6495a34..a166ab4 100644 --- a/ncmd/options.go +++ b/ncmd/options.go @@ -6,7 +6,12 @@ import ( func WithOptions(o *Options) Option { return func(opt *Options) { - opt = o + opt.Marshaler = o.Marshaler + opt.DevMode = o.DevMode + opt.Buffered = o.Buffered + opt.Streaming = o.Streaming + opt.LineBufferSize = o.LineBufferSize + opt.CombinedOutput = o.CombinedOutput } }