mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Dot now allow using startup bookmark in multi-session mode
This commit is contained in:
parent
7381ff8589
commit
d8ce8231cc
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user