Skip to content

Commit

Permalink
Unhide region flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
iheanyi committed Aug 11, 2021
1 parent cec2f7f commit de9ce9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion internal/cmd/branch/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func CreateCmd(ch *cmdutil.Helper) *cobra.Command {

cmd.Flags().StringVar(&createReq.ParentBranch, "from", "", "branch to be created from")
cmd.Flags().StringVar(&createReq.Region, "region", "", "region for the database")
cmd.Flags().MarkHidden("region")
cmd.RegisterFlagCompletionFunc("region", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
ctx := cmd.Context()
client, err := ch.Client()
Expand Down
1 change: 0 additions & 1 deletion internal/cmd/database/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ func CreateCmd(ch *cmdutil.Helper) *cobra.Command {

cmd.Flags().StringVar(&createReq.Notes, "notes", "", "notes for the database")
cmd.Flags().StringVar(&createReq.Region, "region", "", "region for the database")
cmd.Flags().MarkHidden("region")
cmd.RegisterFlagCompletionFunc("region", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
ctx := cmd.Context()
client, err := ch.Client()
Expand Down

0 comments on commit de9ce9c

Please sign in to comment.