File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ API Reference
14
14
OptionGroup
15
15
16
16
RequiredAnyOptionGroup
17
+ AllOptionGroup
17
18
RequiredAllOptionGroup
18
19
MutuallyExclusiveOptionGroup
19
20
RequiredMutuallyExclusiveOptionGroup
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ Contents
67
67
.. toctree ::
68
68
:maxdepth: 2
69
69
70
- manual
70
+ tutorial
71
71
api
72
72
changelog
73
73
Original file line number Diff line number Diff line change 1
- .. _ manual. :
1
+ .. _ tutorial :
2
2
3
- Manual
4
- ======
3
+ Tutorial
4
+ ========
5
5
6
6
A Simple Example
7
7
----------------
@@ -199,8 +199,9 @@ Both these classes do not contain the specific behavior or relationship among gr
199
199
The specific behavior can be implemented by using the inheritance, mainly, in :class: `OptionGroup ` sub classes.
200
200
**click-option-groups ** provides some useful :class: `OptionGroup ` based classes out of the box:
201
201
202
- - :class: `RequiredAnyOptionGroup ` -- At least one option from the group must be set.
203
- - :class: `RequiredAllOptionGroup ` -- All options from the group must be set.
202
+ - :class: `RequiredAnyOptionGroup ` -- At least one option from the group must be set
203
+ - :class: `AllOptionGroup ` -- All options from the group must be set or none must be set
204
+ - :class: `RequiredAllOptionGroup ` -- All options from the group must be set
204
205
- :class: `MutuallyExclusiveOptionGroup ` -- Only one or none option from the group must be set
205
206
- :class: `RequiredMutuallyExclusiveOptionGroup ` -- Only one required option from the group must be set
206
207
You can’t perform that action at this time.
0 commit comments