Allow multiple xor:"" groups to be defined.

Fixes #113.
This commit is contained in:
Alec Thomas
2021-06-21 18:58:44 +09:30
parent 8aa52739ea
commit 54558f65e8
5 changed files with 32 additions and 14 deletions
+1 -1
View File
@@ -446,7 +446,7 @@ Tag | Description
`mapsep:"X"` | Separator for maps (defaults to ";"). May be `none` to disable splitting.
`enum:"X,Y,..."` | Set of valid values allowed for this flag.
`group:"X"` | Logical group for a flag or command.
`xor:"X"` | Exclusive OR group for flags. Only one flag in the group can be used which is restricted within the same command.
`xor:"X,Y,..."` | Exclusive OR groups for flags. Only one flag in the group can be used which is restricted within the same command.
`prefix:"X"` | Prefix for all sub-flags.
`set:"K=V"` | Set a variable for expansion by child elements. Multiples can occur.
`embed:""` | If present, this field's children will be embedded in the parent. Useful for composition.