1
0
mirror of synced 2024-06-07 14:57:47 +02:00

Clear a bit the help of the cli

This commit is contained in:
jvoisin 2018-05-15 23:27:58 +02:00
parent 1aac096786
commit 7dd9e8bcdf

View File

@ -27,12 +27,12 @@ def create_arg_parser():
parser.add_argument('files', nargs='*') parser.add_argument('files', nargs='*')
parser.add_argument('-v', '--version', action='version', parser.add_argument('-v', '--version', action='version',
version='MAT2 %s' % __version__) version='MAT2 %s' % __version__)
parser.add_argument('-l', '--list', action='store_true',
help='list all supported fileformats')
info = parser.add_argument_group('Information') info = parser.add_argument_group('Information')
info.add_argument('-c', '--check', action='store_true', info.add_argument('-c', '--check', action='store_true',
help='check if a file is free of harmful metadatas') help='check if a file is free of harmful metadatas')
info.add_argument('-l', '--list', action='store_true',
help='list all supported fileformats')
info.add_argument('-s', '--show', action='store_true', info.add_argument('-s', '--show', action='store_true',
help='list all the harmful metadata of a file without removing them') help='list all the harmful metadata of a file without removing them')
info.add_argument('-L', '--lightweight', action='store_true', info.add_argument('-L', '--lightweight', action='store_true',