Skip to content

Commit b4f0c87

Browse files
authored
feat: use force by default to be user friendly (#285)
1 parent 522c284 commit b4f0c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/profile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func init() {
104104
profileCmd.Flags().StringVarP(&output, "output", "o", "", "download cover profile")
105105
profileCmd.Flags().StringSliceVarP(&svrList, "service", "", nil, "service name to fetch profile, see 'goc list' for all services.")
106106
profileCmd.Flags().StringSliceVarP(&addrList, "address", "", nil, "address to fetch profile, see 'goc list' for all addresses.")
107-
profileCmd.Flags().BoolVarP(&force, "force", "f", false, "force fetching all available profiles")
107+
profileCmd.Flags().BoolVarP(&force, "force", "f", true, "force fetching all available profiles")
108108
profileCmd.Flags().StringSliceVarP(&coverFilePatterns, "coverfile", "", nil, "only output coverage data of the files matching the patterns")
109109
profileCmd.Flags().StringSliceVarP(&skipFilePatterns, "skipfile", "", nil, "skip the files matching the patterns when outputing coverage data")
110110
addBasicFlags(profileCmd.Flags())

0 commit comments

Comments
 (0)