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")