Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Core} Fix --only-show-errors on root parser #20353

Merged
merged 1 commit into from
Nov 17, 2021
Merged

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Nov 16, 2021

Description

Using --only-show-errors on root parser fails:

> az --only-show-errors
the following arguments are required: _command_package

Examples from AI knowledge base:
https://aka.ms/cli_ref
Read more about the command in reference docs

This PR fixes --only-show-errors on root parser, same as microsoft/knack#253.

This issue was found while investigating #20269.

@jiasli jiasli self-assigned this Nov 16, 2021
@jiasli jiasli added this to the Nov 2021 (2021-12-07) milestone Nov 16, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 16, 2021

Core

@jiasli jiasli merged commit 24bb8c6 into Azure:dev Nov 17, 2021
@jiasli jiasli deleted the only-show-errors branch November 17, 2021 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants