Unsupported options.
This commit is contained in:
parent
e6ec7f8962
commit
0a67c8f698
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user