Skip to content

Commit 9a3ae32

Browse files
authored
Merge pull request #72 from codacy/remove-global-flag-c
fix: Remove c from global flag as it clashes with other flags like commituuid
2 parents 524e5aa + 27564ea commit 9a3ae32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func getExampleText() string {
7474

7575
func init() {
7676
// Add global flags here
77-
rootCmd.PersistentFlags().StringP("config", "c", filepath.Join(".codacy", "codacy.yaml"), "config file")
77+
rootCmd.PersistentFlags().String("config", filepath.Join(".codacy", "codacy.yaml"), "config file")
7878

7979
// Customize help template
8080
rootCmd.SetUsageTemplate(`

0 commit comments

Comments
 (0)