From 0a67c8f6987d6e016e163b82cd82ce278d7d7af0 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Thu, 29 Apr 2021 16:55:44 +0100 Subject: [PATCH] Unsupported options. --- pwd_stub.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pwd_stub.go b/pwd_stub.go index 62c3ab7..d204940 100644 --- a/pwd_stub.go +++ b/pwd_stub.go @@ -3,6 +3,9 @@ package zenity func password(opts options) (string, string, error) { + if opts.username { + return "", "", ErrUnsupported + } opts.hideText = true str, err := entry("Password:", opts) return "", str, err