Skip to content

Commit

Permalink
Hide --no-wait from customers
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanchan Joshi committed Oct 9, 2024
1 parent bc6a214 commit 8c83d8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/azure-cli/azure/cli/command_modules/redis/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,6 @@ def load_arguments(self, _): # pylint: disable=too-many-statements
c.argument('mi_system_assigned', arg_type=system_identity_type)
c.argument('mi_user_assigned', arg_type=user_identity_type)

# hide --no-wait from customer usage, only use for functional tests to get LRO result
with self.argument_context('redis update') as c:
c.extra('no_wait', arg_type=get_three_state_flag(), help="Specify as false to wait for result of long running operation")
c.extra('no_wait', arg_type=get_three_state_flag(), help="Specify as false to wait for result of long running operation", deprecate_info=c.deprecate(hide=True))

0 comments on commit 8c83d8d

Please sign in to comment.