From d8ce8231ccbc905bf2fd68af0888b12ea9ab6abc Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Sat, 7 Oct 2017 09:25:00 -0500 Subject: [PATCH] Dot now allow using startup bookmark in multi-session mode --- pkg/command/options.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/command/options.go b/pkg/command/options.go index 36dbe3c..ff59b7c 100644 --- a/pkg/command/options.go +++ b/pkg/command/options.go @@ -69,6 +69,10 @@ func ParseOptions() error { Opts.AuthPass = os.Getenv("AUTH_PASS") } + if Opts.Bookmark != "" && Opts.Sessions { + return errors.New("--bookmark is not allowed in multi-session") + } + if Opts.ConnectBackend != "" { if !Opts.Sessions { return errors.New("--sessions flag must be set")