Skip to content

Commit f5858e9

Browse files
committed
desactivate completion subcommand
1 parent de567f3 commit f5858e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/root.go

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ func Execute() {
2828

2929
func init() {
3030
rootCmd.AddCommand(encodeCmd)
31+
rootCmd.CompletionOptions.DisableDefaultCmd = true
3132
encodeCmd.PersistentFlags().StringVar(&payload, "p", "", "payload")
3233
encodeCmd.PersistentFlags().StringVar(&privateKeyFile, "pk", "", "private key file")
3334
encodeCmd.PersistentFlags().StringVar(&secret, "s", "", "secret")

0 commit comments

Comments
 (0)