From be6d32afa830fd5b4e7dee5b649c83523a59e04d Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 16 May 2018 00:07:04 +0200 Subject: Some arguments are mutually exclusives --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index f3d8d60..0cda955 100755 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ def create_arg_parser(): parser.add_argument('-l', '--list', action='store_true', help='list all supported fileformats') - info = parser.add_argument_group('Information') + info = parser.add_mutually_exclusive_group() info.add_argument('-c', '--check', action='store_true', help='check if a file is free of harmful metadatas') info.add_argument('-s', '--show', action='store_true', -- cgit v1.3