diff --git a/cliclient/cmd/root.go b/cliclient/cmd/root.go index f88efaa..32371c4 100644 --- a/cliclient/cmd/root.go +++ b/cliclient/cmd/root.go @@ -280,4 +280,5 @@ func init() { ClientConfig.MaxPrincipalsPerCertificate, "Optional flag that instructs the server to put maximum of N principals per signed certificate.", ) + _ = RootCmd.RegisterFlagCompletionFunc("max-principals-per-certificate", cobra.NoFileCompletions) }