add required to click.option decorator (#1397)

This commit is contained in:
Alex Khomchenko authored and Matthias Kramm committed 2017-06-08 11:52:25 -07:00
1 parent 0709985d0c
commit 25b3a818d3
1 file changed
+1
+1
View File
@@ -103,6 +103,7 @@ def option(
help: str = None,
# Parameter
default: Any = None,
required: bool = False,
callback: Optional[_Callback] = ...,
nargs: int = None,
metavar: str = None,