Skip to content

Commit

Permalink
CLI now prints extension messages. E.g. This extension is in preview.…
Browse files Browse the repository at this point in the history
… The behavior of this command has been altered by the following extension: storage-preview (#7606)
  • Loading branch information
adewaleo authored and williexu committed Oct 18, 2018
1 parent 8c0e296 commit ed3149f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/azure-cli-core/azure/cli/core/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def _print_extensions_msg(help_file):
if help_file.command_source.preview:
logger.warning(help_file.command_source.get_preview_warn_msg())

def print_detailed_help(self, cli_name, help_file):
def _print_detailed_help(self, cli_name, help_file):
AzCliHelp._print_extensions_msg(help_file)
self._print_detailed_help(cli_name, help_file)
super(AzCliHelp, self)._print_detailed_help(cli_name, help_file)


class CliHelpFile(KnackHelpFile):
Expand Down

0 comments on commit ed3149f

Please sign in to comment.