From 84ced089089cdf4cc3db144bace44c55124d080c Mon Sep 17 00:00:00 2001 From: jichangjun Date: Thu, 23 Jun 2022 11:07:02 +0800 Subject: [PATCH] feat: use force by default to be user friendly --- cmd/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/profile.go b/cmd/profile.go index 502372e4..67093285 100644 --- a/cmd/profile.go +++ b/cmd/profile.go @@ -104,7 +104,7 @@ func init() { profileCmd.Flags().StringVarP(&output, "output", "o", "", "download cover profile") profileCmd.Flags().StringSliceVarP(&svrList, "service", "", nil, "service name to fetch profile, see 'goc list' for all services.") profileCmd.Flags().StringSliceVarP(&addrList, "address", "", nil, "address to fetch profile, see 'goc list' for all addresses.") - profileCmd.Flags().BoolVarP(&force, "force", "f", false, "force fetching all available profiles") + profileCmd.Flags().BoolVarP(&force, "force", "f", true, "force fetching all available profiles") profileCmd.Flags().StringSliceVarP(&coverFilePatterns, "coverfile", "", nil, "only output coverage data of the files matching the patterns") profileCmd.Flags().StringSliceVarP(&skipFilePatterns, "skipfile", "", nil, "skip the files matching the patterns when outputing coverage data") addBasicFlags(profileCmd.Flags())