From 195b44ee0689d4d5a66e6b80adbba9cb7201d8ab Mon Sep 17 00:00:00 2001 From: Finn Date: Tue, 2 Feb 2021 21:22:42 -0800 Subject: [PATCH] Don't require signald connection to generate completion --- cmd/signaldctl/cmd/completion.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/signaldctl/cmd/completion.go b/cmd/signaldctl/cmd/completion.go index 8d6e738..43746d3 100644 --- a/cmd/signaldctl/cmd/completion.go +++ b/cmd/signaldctl/cmd/completion.go @@ -66,6 +66,7 @@ PS> signaldctl completion powershell > signaldctl.ps1 # and source this file from your powershell profile. `, DisableFlagsInUseLine: true, + Annotations: map[string]string{common.AnnotationNoSocketConnection: "true"}, ValidArgs: []string{"bash", "zsh", "fish", "powershell"}, Args: cobra.ExactValidArgs(1), Run: func(cmd *cobra.Command, args []string) {