Skip to content

Commit 749f480

Browse files
oleg-jukovecLeonidVas
authored andcommitted
cluster: fix examples in the help with URIs
1 parent 7fe9f11 commit 749f480

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cli/cmd/cluster.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ environment variables < command flags < URL credentials.
7474
" from etcd URI.\n\n" + uriHelp,
7575
Example: "tt cluster show application_name\n" +
7676
" tt cluster show application_name:instance_name\n" +
77-
" tt cluster show https://user@pass@localhost:2379/tt\n" +
78-
" tt cluster show https://user@pass@localhost:2379/tt?name=instance",
77+
" tt cluster show https://user:pass@localhost:2379/tt\n" +
78+
" tt cluster show https://user:pass@localhost:2379/tt?name=instance",
7979
Run: func(cmd *cobra.Command, args []string) {
8080
cmdCtx.CommandName = cmd.Name()
8181
err := modules.RunCmd(&cmdCtx, cmd.CommandPath(), &modulesInfo,
@@ -116,9 +116,9 @@ environment variables < command flags < URL credentials.
116116
Example: "tt cluster publish application_name cluster.yaml\n" +
117117
" tt cluster publish application_name:instance_name instance.yaml\n" +
118118
" tt cluster publish " +
119-
"https://user@pass@localhost:2379/tt cluster.yaml\n" +
119+
"https://user:pass@localhost:2379/tt cluster.yaml\n" +
120120
" tt cluster publish " +
121-
"https://user@pass@localhost:2379/tt?name=instance " +
121+
"https://user:pass@localhost:2379/tt?name=instance " +
122122
"instance.yaml",
123123
Run: func(cmd *cobra.Command, args []string) {
124124
cmdCtx.CommandName = cmd.Name()

0 commit comments

Comments
 (0)