Skip to content

Commit 425def9

Browse files
docs: change cli guides with updated command names (#484)
1 parent 92fb79a commit 425def9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/kafka/rhoas-cli-getting-started-kafka/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ $ rhoas context status kafka
130130
[NOTE]
131131
====
132132
If you have multiple Kafka instances,
133-
you can make the current context switch to a different instance by using the `rhoas context use-kafka` command.
133+
you can make the current context switch to a different instance by using the `rhoas context set-kafka` command.
134134
====
135135
--
136136

@@ -209,7 +209,7 @@ After creating a Kafka instance, you can create Kafka topics to start producing
209209

210210
[NOTE]
211211
====
212-
You can use `rhoas kafka list` and `rhoas context use-kafka` to switch to a specific Kafka instance.
212+
You can use `rhoas kafka list` and `rhoas context set-kafka` to switch to a specific Kafka instance.
213213
214214
.List Kafka instances
215215
[source,shell]
@@ -219,7 +219,7 @@ $ rhoas kafka list
219219
.Selecting a Kafka instance to use
220220
[source,shell]
221221
----
222-
$ rhoas context use-kafka --name my-kafka
222+
$ rhoas context set-kafka --name my-kafka
223223
----
224224
====
225225

docs/registry/rhoas-cli-getting-started-registry/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ because the `Status` field is `ready`.
134134
[NOTE]
135135
====
136136
If you have multiple {registry} instances,
137-
you can change the context to a different instance by using the `rhoas context use-service-registry` command.
137+
you can change the context to a different instance by using the `rhoas context set-service-registry` command.
138138
====
139139
--
140140

@@ -216,12 +216,12 @@ Artifacts might include, for example, schemas that define the structure of Kafka
216216

217217
[NOTE]
218218
====
219-
You can use `rhoas context use-service-registry` to switch to a specific {registry} instance.
219+
You can use `rhoas context set-service-registry` to switch to a specific {registry} instance.
220220
221221
.Selecting a {registry} instance to use
222222
[source,shell]
223223
----
224-
$ rhoas context use-service-registry --name=my-registry
224+
$ rhoas context set-service-registry --name=my-registry
225225
----
226226
====
227227

0 commit comments

Comments
 (0)