Skip to content

Commit

Permalink
merge_request: deprecate command
Browse files Browse the repository at this point in the history
The `lab merge-request` command was being used as a shorthand for `lab mr
create`, which, IMO, doesn't make much sense today. And since we already
deprecated most of the shorthand flags for other subcommands, this one seems
a good candidate for deprecation.

Signed-off-by: Bruno Meneguele <[email protected]>
  • Loading branch information
bmeneg committed Mar 26, 2021
1 parent b7be9f9 commit a12a117
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/merge_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (

var mergeRequestCmd = &cobra.Command{
Use: "merge-request [remote [branch]]",
Deprecated: "use the `mr create` command instead",
Short: mrCreateCmd.Short,
Long: mrCreateCmd.Long,
Args: mrCreateCmd.Args,
Expand Down

0 comments on commit a12a117

Please sign in to comment.