Refine the handling of exclusive options using mutually_exclusive

- Fixes #255

Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
Hideki Saito
2021-11-29 17:49:26 +09:00
parent f17fda3162
commit 667ebef95c
3 changed files with 14 additions and 29 deletions

View File

@@ -82,4 +82,4 @@
assert:
that:
- result is not changed
- "result.msg == 'can only operate on port, service, rich_rule, masquerade, icmp_block, icmp_block_inversion, interface or source at once'"
- "result.msg == 'parameters are mutually exclusive: icmp_block|icmp_block_inversion|service|port|port_forward|rich_rule|interface|masquerade|source|target'"