diff --git a/cmd/mr_checkout.go b/cmd/mr_checkout.go index 2aa3d9be..fa299012 100644 --- a/cmd/mr_checkout.go +++ b/cmd/mr_checkout.go @@ -24,9 +24,14 @@ var ( // listCmd represents the list command var checkoutCmd = &cobra.Command{ - Use: "checkout [remote] []", - Short: "Checkout an open merge request", - Args: cobra.RangeArgs(1, 2), + Use: "checkout [remote] []", + Aliases: []string{"co"}, + Short: "Checkout an open merge request", + Long: heredoc.Doc(` + Checkout an open merge request using the MR's source branch name as + local branch name; this behavior can be changed using --branch + option.`), + Args: cobra.RangeArgs(1, 2), Example: heredoc.Doc(` lab mr checkout origin 10 lab mr checkout upstream -b a_branch_name