From 98d5621046ae987c0591c822f137c22b9a1032fa Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Mon, 29 Jan 2018 09:04:46 +0100 Subject: [PATCH] Add 'message' to click.decorators.version_option Click's version_option decorator allows the caller to specify the version message. This optional string option is missing in typeshed. --- third_party/2and3/click/decorators.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/2and3/click/decorators.pyi b/third_party/2and3/click/decorators.pyi index 6f6e5230f8cd..c587a7f6d4e5 100644 --- a/third_party/2and3/click/decorators.pyi +++ b/third_party/2and3/click/decorators.pyi @@ -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 = ...,