Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions typer/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,6 @@ def _get_default_string(
else:
default_string = _split_opt(obj.secondary_opts[0])[1]
# Typer override end
elif (
isinstance(obj, TyperOption)
and obj.is_bool_flag
and not obj.secondary_opts
and not default_value
):
default_string = ""
else:
default_string = str(default_value)
return default_string
Expand Down
Loading