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

Only show the deprecated option section with help if there are deprecated options #16339

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

asherf
Copy link
Member

@asherf asherf commented Jul 28, 2022

This is somewhat of an annoyance I had for a while, most subsystems don't have deprecated options, so seeing this section with nothing feels pointless and adds space/noise to the output.

Before:
Screen Shot 2022-07-28 at 12 32 59 PM

After:

Screen Shot 2022-07-28 at 12 35 13 PM

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better

@Eric-Arellano Eric-Arellano changed the title Only show the deprecated option section if there are deprecated options Only show the deprecated option section with help if there are deprecated options Jul 28, 2022
@Eric-Arellano Eric-Arellano enabled auto-merge (squash) July 28, 2022 17:22
@Eric-Arellano Eric-Arellano merged commit b258383 into pantsbuild:main Jul 28, 2022
@asherf asherf deleted the seinfeld branch July 28, 2022 19:27
@benjyw
Copy link
Contributor

benjyw commented Jul 29, 2022

Excellent! Thanks!

cczona pushed a commit to cczona/pants that referenced this pull request Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants