diff --git a/scripts/ci/test_extensions.sh b/scripts/ci/test_extensions.sh index 5035a06ee0e..ea0e54a7658 100755 --- a/scripts/ci/test_extensions.sh +++ b/scripts/ci/test_extensions.sh @@ -27,7 +27,7 @@ for ext in $output; do exit_code=1 echo "Failed to load:" $ext fi - azdev verify load_all + azdev verify load-all if [ $? != 0 ] then exit_code=1 diff --git a/tools/automation/verify/verify_load_all.py b/tools/automation/verify/verify_load_all.py index 2dea20ad77b..c9ad88a9fd4 100644 --- a/tools/automation/verify/verify_load_all.py +++ b/tools/automation/verify/verify_load_all.py @@ -10,7 +10,7 @@ EXTENSION_FAILURE_EXCLUSIONS = [] def init(root): - parser = root.add_parser('load_all', help='Load the full command table, command arguments and help.') + parser = root.add_parser('load-all', help='Load the full command table, command arguments and help.') parser.set_defaults(func=verify_load_all) @@ -19,7 +19,7 @@ def verify_load_all(_): from azure.cli.core.file_util import get_all_help, create_invoker_and_load_cmds_and_args print('Loading all commands, arguments, and help...') - # setup CLI to enable command loader + # setup CLI to enable command loader and register event az_cli = get_default_cli() az_cli.register_event(EVENT_FAILED_EXTENSION_LOAD, extension_failed_load_handler)