Skip to content

Commit

Permalink
fix: small improve to help content (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
digimaun authored Jul 31, 2024
1 parent 33d9d42 commit 454c3bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azext_edge/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import os

VERSION = "0.6.0a5"
VERSION = "0.6.0a6"
EXTENSION_NAME = "azure-iot-ops"
EXTENSION_ROOT = os.path.dirname(os.path.abspath(__file__))
USER_AGENT = "IotOperationsCliExtension/{}".format(VERSION)
5 changes: 4 additions & 1 deletion azext_edge/edge/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,12 @@ def load_iotops_help():
long-summary: Currently instance tags and description can be updated.
examples:
- name: Update instance tags.
- name: Update instance tags. This is equivalent to a replace.
text: >
az iot ops update --name myinstance -g myresourcegroup --tags a=b c=d
- name: Remove instance tags.
text: >
az iot ops update --name myinstance -g myresourcegroup --tags ""
- name: Update the instance description.
text: >
az iot ops update --name myinstance -g myresourcegroup --desc "Fabrikam Widget Factory B42"
Expand Down
2 changes: 1 addition & 1 deletion azext_edge/edge/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def load_iotops_arguments(self, _):
"custom_location_name",
options_list=["--custom-location"],
help="The custom location name corresponding to the IoT Operations deployment. "
"The default is in the form '{cluster_name}-ops-init-cl'.",
"The default is in the form '{cluster_name}-{token}-ops-init-cl'.",
)
context.argument(
"location",
Expand Down

0 comments on commit 454c3bd

Please sign in to comment.