From b67c678b10f3b7cf6c61c7808831876c03467ebf Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 9 Aug 2021 22:50:24 +0200 Subject: WIP: switch from go stdlib `flag` to `flaggy` --- init_dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init_dir.go') diff --git a/init_dir.go b/init_dir.go index 68268a0..54a44e4 100644 --- a/init_dir.go +++ b/init_dir.go @@ -69,7 +69,7 @@ func initDir(args *argContainer) { } } // Choose password for config file - if args.extpass.Empty() && args.fido2 == "" { + if len(args.extpass) == 0 && args.fido2 == "" { tlog.Info.Printf("Choose a password for protecting your files.") } { -- cgit v1.2.3