From 481761c6d368db458c103bf297e82b90e8bc198b Mon Sep 17 00:00:00 2001 From: Travis Prescott Date: Fri, 30 Nov 2018 11:38:47 -0800 Subject: [PATCH 1/2] EventHubs help fixes #Fixes 7937. Fixes #7938. --- .../azure/cli/command_modules/eventhubs/_help.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py b/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py index b055eea19af..c438f25a1d1 100644 --- a/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py +++ b/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py @@ -75,7 +75,7 @@ examples: - name: Creates a new namespace. text: az eventhubs namespace create --resource-group myresourcegroup --name mynamespace --location westus - --tags tag1=value1 tag2=value2 --sku Standard --is-auto-inflate-enabled False --maximum-throughput-units 30 + --tags tag1=value1 tag2=value2 --sku Standard --enable-auto-inflate-enabled False --maximum-throughput-units 30 """ helps['eventhubs namespace update'] = """ @@ -83,7 +83,7 @@ short-summary: Updates the Event Hubs Namespace examples: - name: Update a new namespace. - text: az eventhubs namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value --is-auto-inflate-enabled True + text: az eventhubs namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value --enable-auto-inflate-enabled True """ helps['eventhubs namespace show'] = """ @@ -174,7 +174,7 @@ short-summary: Creates the Event Hubs Eventhub examples: - name: Create a new Eventhub. - text: az eventhubs eventhub create --resource-group myresourcegroup --namespace-name mynamespace --name myeventhub --message-retention 4 ---partition-count 15 + text: az eventhubs eventhub create --resource-group myresourcegroup --namespace-name mynamespace --name myeventhub --message-retention 4 --partition-count 15 """ helps['eventhubs eventhub update'] = """ @@ -182,7 +182,7 @@ short-summary: Updates the Event Hubs Eventhub examples: - name: Updates a new Eventhub. - text: az eventhubs eventhub update --resource-group myresourcegroup --namespace-name mynamespace --name myeventhub --message-retention 3 ---partition-count 12 + text: az eventhubs eventhub update --resource-group myresourcegroup --namespace-name mynamespace --name myeventhub --message-retention 3 --partition-count 12 """ helps['eventhubs eventhub show'] = """ From 3c40ef68e05327f7431d5e163a422f27eb3b94bd Mon Sep 17 00:00:00 2001 From: Travis Prescott Date: Fri, 30 Nov 2018 11:52:59 -0800 Subject: [PATCH 2/2] Update _help.py --- .../azure/cli/command_modules/eventhubs/_help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py b/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py index c438f25a1d1..076b6985c5a 100644 --- a/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py +++ b/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py @@ -75,7 +75,7 @@ examples: - name: Creates a new namespace. text: az eventhubs namespace create --resource-group myresourcegroup --name mynamespace --location westus - --tags tag1=value1 tag2=value2 --sku Standard --enable-auto-inflate-enabled False --maximum-throughput-units 30 + --tags tag1=value1 tag2=value2 --sku Standard --enable-auto-inflate False --maximum-throughput-units 30 """ helps['eventhubs namespace update'] = """ @@ -83,7 +83,7 @@ short-summary: Updates the Event Hubs Namespace examples: - name: Update a new namespace. - text: az eventhubs namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value --enable-auto-inflate-enabled True + text: az eventhubs namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value --enable-auto-inflate True """ helps['eventhubs namespace show'] = """