From bd4aee3f317fbcef07a56bb53f853c8162e34771 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 18 Dec 2022 17:55:31 +0100 Subject: [PATCH] service: fix typo in network -cerfp flag name Reported-by: rj1 Fixes: be185fba33a4 ("Implement TLS fingerprint pinning") --- service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.go b/service.go index 346310f..e88b1d1 100644 --- a/service.go +++ b/service.go @@ -448,7 +448,7 @@ func newNetworkFlagSet() *networkFlagSet { fs.Var(stringPtrFlag{&fs.Username}, "username", "") fs.Var(stringPtrFlag{&fs.Pass}, "pass", "") fs.Var(stringPtrFlag{&fs.Realname}, "realname", "") - fs.Var(stringPtrFlag{&fs.CertFP}, "fingerprint", "") + fs.Var(stringPtrFlag{&fs.CertFP}, "certfp", "") fs.Var(boolPtrFlag{&fs.AutoAway}, "auto-away", "") fs.Var(boolPtrFlag{&fs.Enabled}, "enabled", "") fs.Var((*stringSliceFlag)(&fs.ConnectCommands), "connect-command", "")