File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,7 @@ func scanCreateSubCommand(
679679 createScanCmd .PersistentFlags ().Bool (
680680 commonParams .BranchPrimaryFlag ,
681681 false ,
682- "Sets the given branch as primary for the project" )
682+ "This flag sets the branch specified in -- branch as the PRIMARY branch for the project" )
683683
684684 createScanCmd .PersistentFlags ().Bool (
685685 commonParams .SastRecommendedExclusionsFlags ,
@@ -2962,7 +2962,7 @@ func validateCreateScanFlags(cmd *cobra.Command) error {
29622962 if isBranchChanged {
29632963 for _ , a := range os .Args [1 :] {
29642964 if strings .HasPrefix (a , BranchPrimaryPrefix ) {
2965- return fmt .Errorf ("invalid value for --branch-primary flag. This flag must be sent with no value " )
2965+ return fmt .Errorf ("invalid value for --branch-primary flag. This flag is sent without any values " )
29662966 }
29672967 }
29682968 }
You can’t perform that action at this time.
0 commit comments