GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix printing of default option value to handle empty strings by stefmolin · Pull Request #2724 · pallets/click

Conversation

@stefmolin

@stefmolin stefmolin commented May 20, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Added an explicit check for the default value being an empty string to ensure that the default is displayed.

Fixes #2500

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@stefmolin
stefmolin marked this pull request as ready for review May 20, 2024 16:02
@aenglander aenglander added this to the 8.2.0 milestone May 20, 2024
@stefmolin @davidism
Fix printing of default option value to handle empty strings
61f8101
@davidism
davidism force-pushed the fix-default branch from ccc0f78 to 61f8101 Compare May 21, 2024 16:24
@davidism
davidism changed the base branch from main to 8.1.x May 21, 2024 16:24
@davidism davidism modified the milestones: 8.2.0, 8.1.8 May 21, 2024
@davidism davidism closed this May 21, 2024
@davidism davidism reopened this May 21, 2024
@davidism
davidism merged commit d3e3852 into pallets:8.1.x May 21, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 5, 2024
@kdeldycke kdeldycke added the parsing Parsing, parameters, commands, chaining, context label Aug 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

parsing Parsing, parameters, commands, chaining, context

Projects

None yet

Milestone

8.1.8

Development

Successfully merging this pull request may close these issues.

Empty string default values are not displayed

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@stefmolin @kdeldycke @aenglander @davidism
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.