Skip to content

Commit 27564ea

Browse files
committed
fix: Remove c from global flag as it clashes with other flags like commituuid
1 parent 524e5aa commit 27564ea

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)