diff options
| author | jvoisin | 2018-05-16 00:07:04 +0200 |
|---|---|---|
| committer | jvoisin | 2018-05-16 00:07:04 +0200 |
| commit | be6d32afa830fd5b4e7dee5b649c83523a59e04d (patch) | |
| tree | c6f5dc0c9d528f678a947c6ea155042041530524 /main.py | |
| parent | 7b0a27ce76ab178faade2ed8aeb29383c9c0687c (diff) | |
Some arguments are mutually exclusives
Diffstat (limited to 'main.py')
| -rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -30,7 +30,7 @@ def create_arg_parser(): | |||
| 30 | parser.add_argument('-l', '--list', action='store_true', | 30 | parser.add_argument('-l', '--list', action='store_true', |
| 31 | help='list all supported fileformats') | 31 | help='list all supported fileformats') |
| 32 | 32 | ||
| 33 | info = parser.add_argument_group('Information') | 33 | info = parser.add_mutually_exclusive_group() |
| 34 | info.add_argument('-c', '--check', action='store_true', | 34 | info.add_argument('-c', '--check', action='store_true', |
| 35 | help='check if a file is free of harmful metadatas') | 35 | help='check if a file is free of harmful metadatas') |
| 36 | info.add_argument('-s', '--show', action='store_true', | 36 | info.add_argument('-s', '--show', action='store_true', |
