Skip to content

Commit

Permalink
some fmt optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed Aug 16, 2023
1 parent edbe15c commit 13e1a4b
Show file tree
Hide file tree
Showing 2 changed files with 232 additions and 232 deletions.
8 changes: 4 additions & 4 deletions internal/cli/branch/connectinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -54,10 +54,10 @@ func ConnectInfoCmd(h *internal.Helper) *cobra.Command {
Use: "connect-info",
Short: "Get connection string for the specified branch",
Example: fmt.Sprintf(` Get connection string in interactive mode:
$ %[1]s branch connect-info
$ %[1]s branch connect-info
Get connection string in non-interactive mode:
$ %[1]s branch connect-info --cluster-id <cluster-id> --branch-id <branch-id> --client <client-name> --operating-system <operating-system>
Get connection string in non-interactive mode:
$ %[1]s branch connect-info --cluster-id <cluster-id> --branch-id <branch-id> --client <client-name> --operating-system <operating-system>
`, config.CliName),
PreRunE: func(cmd *cobra.Command, args []string) error {
flags := opts.NonInteractiveFlags()
Expand Down
Loading

0 comments on commit 13e1a4b

Please sign in to comment.