mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add 'message' to click.decorators.version_option (#1845)
Click's version_option decorator allows the caller to specify the version message. This optional string option is missing in typeshed.
This commit is contained in:
committed by
Jelle Zijlstra
parent
3e00a8f8e1
commit
b5baedffb7
1
third_party/2and3/click/decorators.pyi
vendored
1
third_party/2and3/click/decorators.pyi
vendored
@@ -174,6 +174,7 @@ def version_option(
|
||||
cls: Type[Option] = ...,
|
||||
# Option
|
||||
prog_name: Optional[str] = ...,
|
||||
message: Optional[str] = ...,
|
||||
show_default: bool = ...,
|
||||
prompt: Union[bool, Text] = ...,
|
||||
confirmation_prompt: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user