diff --git a/completers/git_completer/cmd/check_mailmap_generated.go b/completers/git_completer/cmd/checkMailmap.go similarity index 59% rename from completers/git_completer/cmd/check_mailmap_generated.go rename to completers/git_completer/cmd/checkMailmap.go index 54336c38f4..a03d3e4163 100644 --- a/completers/git_completer/cmd/check_mailmap_generated.go +++ b/completers/git_completer/cmd/checkMailmap.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" ) -var check_mailmapCmd = &cobra.Command{ +var checkMailmapCmd = &cobra.Command{ Use: "check-mailmap", Short: "Show canonical names and email addresses of contacts", Run: func(cmd *cobra.Command, args []string) {}, @@ -13,7 +13,8 @@ var check_mailmapCmd = &cobra.Command{ } func init() { - carapace.Gen(check_mailmapCmd).Standalone() - check_mailmapCmd.Flags().Bool("stdin", false, "also read contacts from stdin") - rootCmd.AddCommand(check_mailmapCmd) + carapace.Gen(checkMailmapCmd).Standalone() + + checkMailmapCmd.Flags().Bool("stdin", false, "also read contacts from stdin") + rootCmd.AddCommand(checkMailmapCmd) }