diff --git a/cmd/root.go b/cmd/root.go index 8b713e5f..72b8c862 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -74,7 +74,7 @@ func getExampleText() string { func init() { // Add global flags here - rootCmd.PersistentFlags().StringP("config", "c", filepath.Join(".codacy", "codacy.yaml"), "config file") + rootCmd.PersistentFlags().String("config", filepath.Join(".codacy", "codacy.yaml"), "config file") // Customize help template rootCmd.SetUsageTemplate(`