From f8244022fb8a280d33920a8e7cdd7fa7e6eb4b83 Mon Sep 17 00:00:00 2001 From: Mozi <29089388+pzhlkj6612@users.noreply.github.com> Date: Sat, 1 May 2021 11:20:35 +0800 Subject: [PATCH 1/4] split-words-in-help-storage-blob-generate_sas --- .../azure/cli/command_modules/storage/_params.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index feb862c85f1..a724320597a 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -646,15 +646,15 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem t_blob_permissions = self.get_sdk('blob.models#BlobPermissions') c.register_sas_arguments() - c.argument('cache_control', help='Response header value for Cache-Control when resource is accessed' + c.argument('cache_control', help='Response header value for Cache-Control when resource is accessed ' 'using this shared access signature.') - c.argument('content_disposition', help='Response header value for Content-Disposition when resource is accessed' + c.argument('content_disposition', help='Response header value for Content-Disposition when resource is accessed ' 'using this shared access signature.') - c.argument('content_encoding', help='Response header value for Content-Encoding when resource is accessed' + c.argument('content_encoding', help='Response header value for Content-Encoding when resource is accessed ' 'using this shared access signature.') - c.argument('content_language', help='Response header value for Content-Language when resource is accessed' + c.argument('content_language', help='Response header value for Content-Language when resource is accessed ' 'using this shared access signature.') - c.argument('content_type', help='Response header value for Content-Type when resource is accessed' + c.argument('content_type', help='Response header value for Content-Type when resource is accessed ' 'using this shared access signature.') c.argument('full_uri', action='store_true', help='Indicates that this command return the full blob URI and the shared access signature token.') From b32799456e4534fc191e4e6b1ab83f8dc905ae4a Mon Sep 17 00:00:00 2001 From: Mozi <29089388+pzhlkj6612@users.noreply.github.com> Date: Sat, 1 May 2021 11:20:35 +0800 Subject: [PATCH 2/4] split-words-in-help-storage-blob-url --- src/azure-cli/azure/cli/command_modules/storage/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index a724320597a..f1eb3e3fddf 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -713,7 +713,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem with self.argument_context('storage blob url') as c: c.argument('protocol', arg_type=get_enum_type(['http', 'https'], 'https'), help='Protocol to use.') - c.argument('snapshot', help='An string value that uniquely identifies the snapshot. The value of' + c.argument('snapshot', help='An string value that uniquely identifies the snapshot. The value of ' 'this query parameter indicates the snapshot version.') with self.argument_context('storage blob set-tier') as c: From 15566dbd8bf0f871a7740243bb08840ae7764fd0 Mon Sep 17 00:00:00 2001 From: Mozi <29089388+pzhlkj6612@users.noreply.github.com> Date: Sat, 1 May 2021 11:20:35 +0800 Subject: [PATCH 3/4] split-words-in-help-storage-container-generate_sas --- .../azure/cli/command_modules/storage/_params.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index f1eb3e3fddf..6394d60bd75 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -1145,15 +1145,15 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem c.argument('permission', options_list='--permissions', help=sas_help.format(get_permission_help_string(t_container_permissions)), validator=get_permission_validator(t_container_permissions)) - c.argument('cache_control', help='Response header value for Cache-Control when resource is accessed' + c.argument('cache_control', help='Response header value for Cache-Control when resource is accessed ' 'using this shared access signature.') - c.argument('content_disposition', help='Response header value for Content-Disposition when resource is accessed' + c.argument('content_disposition', help='Response header value for Content-Disposition when resource is accessed ' 'using this shared access signature.') - c.argument('content_encoding', help='Response header value for Content-Encoding when resource is accessed' + c.argument('content_encoding', help='Response header value for Content-Encoding when resource is accessed ' 'using this shared access signature.') - c.argument('content_language', help='Response header value for Content-Language when resource is accessed' + c.argument('content_language', help='Response header value for Content-Language when resource is accessed ' 'using this shared access signature.') - c.argument('content_type', help='Response header value for Content-Type when resource is accessed' + c.argument('content_type', help='Response header value for Content-Type when resource is accessed ' 'using this shared access signature.') c.argument('as_user', min_api='2018-11-09', action='store_true', validator=as_user_validator, From 2e8a03d0e59f9c8b3afe25fd91a3bd626779caa6 Mon Sep 17 00:00:00 2001 From: Jiashuo Li <4003950+jiasli@users.noreply.github.com> Date: Sat, 8 May 2021 16:54:29 +0800 Subject: [PATCH 4/4] Update _params.py --- .../azure/cli/command_modules/storage/_params.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index 6394d60bd75..089524d039e 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -648,8 +648,8 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem c.register_sas_arguments() c.argument('cache_control', help='Response header value for Cache-Control when resource is accessed ' 'using this shared access signature.') - c.argument('content_disposition', help='Response header value for Content-Disposition when resource is accessed ' - 'using this shared access signature.') + c.argument('content_disposition', help='Response header value for Content-Disposition when resource is ' + 'accessed using this shared access signature.') c.argument('content_encoding', help='Response header value for Content-Encoding when resource is accessed ' 'using this shared access signature.') c.argument('content_language', help='Response header value for Content-Language when resource is accessed ' @@ -1147,8 +1147,8 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem validator=get_permission_validator(t_container_permissions)) c.argument('cache_control', help='Response header value for Cache-Control when resource is accessed ' 'using this shared access signature.') - c.argument('content_disposition', help='Response header value for Content-Disposition when resource is accessed ' - 'using this shared access signature.') + c.argument('content_disposition', help='Response header value for Content-Disposition when resource is ' + 'accessed using this shared access signature.') c.argument('content_encoding', help='Response header value for Content-Encoding when resource is accessed ' 'using this shared access signature.') c.argument('content_language', help='Response header value for Content-Language when resource is accessed '