Skip to content

Commit

Permalink
fix remove source branch and allow collaboration mr create options
Browse files Browse the repository at this point in the history
refactored only one place, so the underscores should be hyphens instead
  • Loading branch information
doits committed Aug 10, 2018
1 parent 00066c0 commit c5de110
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/mr_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ func runMRCreate(cmd *cobra.Command, args []string) {
}
}

removeSourceBranch, _ := cmd.Flags().GetBool("remove_source_branch")
removeSourceBranch, _ := cmd.Flags().GetBool("remove-source-branch")
squash, _ := cmd.Flags().GetBool("squash")
allowCollaboration, _ := cmd.Flags().GetBool("allow_collaboration")
allowCollaboration, _ := cmd.Flags().GetBool("allow-collaboration")

labels, err := cmd.Flags().GetStringSlice("label")
if err != nil {
Expand Down

0 comments on commit c5de110

Please sign in to comment.