Skip to content

Commit 0f1f0c5

Browse files
committed
Fixing more linter errors
1 parent 124307a commit 0f1f0c5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/azure-cli/azure/cli/command_modules/resource/_params.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,8 @@ def load_arguments(self, _):
535535
c.argument('skip_resource_name_params', action='store_true')
536536
c.argument('skip_all_params', action='store_true')
537537
c.argument('resource_ids', nargs='+', options_list='--resource-ids')
538-
c.argument('output_format', options_list=['--output-format'])
538+
c.argument('output_format', options_list=['--output-format'],
539+
help="The format of the exported template. Allowed values: 'json', 'arm', 'bicep'. Defaults to 'json'.")
539540

540541
with self.argument_context('group create') as c:
541542
c.argument('rg_name', options_list=['--name', '--resource-group', '-n', '-g'],

src/azure-cli/azure/cli/command_modules/resource/custom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,8 +1739,8 @@ def export_group_as_template(
17391739

17401740
if output_format.lower() == "bicep":
17411741
return result.output
1742-
else:
1743-
return result.template
1742+
1743+
return result.template
17441744

17451745

17461746
def create_application(cmd, resource_group_name,

0 commit comments

Comments
 (0)