Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

fix(commands/mr/approve): use a more precise description for --sha #543

Merged
merged 1 commit into from
Jan 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commands/mr/approve/mr_approve.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ func NewCmdApprove(f *cmdutils.Factory) *cobra.Command {
}

//mrApproveCmd.Flags().StringP("password", "p", "", "Current user’s password. Required if 'Require user password to approve' is enabled in the project settings.")
mrApproveCmd.Flags().StringP("sha", "s", "", "The HEAD of the merge request")
mrApproveCmd.Flags().StringP("sha", "s", "", "SHA which must match the SHA of the HEAD commit of the merge request")
return mrApproveCmd
}