1
0
mirror of synced 2024-11-22 09:14:23 +01:00

mat2: standardize the help messages format

This is a cosmetic patch only.

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
This commit is contained in:
Antoine Tenart 2020-02-27 10:24:16 +01:00
parent 56d2c4aa5f
commit 843c0d8cc5
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ optional arguments:
(policy should be one of: abort, omit, keep) [Default: (policy should be one of: abort, omit, keep) [Default:
abort] abort]
--inplace clean in place, without backup --inplace clean in place, without backup
--no-sandbox Disable bubblewrap's sandboxing. --no-sandbox Disable bubblewrap's sandboxing
-v, --version show program's version number and exit -v, --version show program's version number and exit
-l, --list list all supported fileformats -l, --list list all supported fileformats
--check-dependencies check if mat2 has all the dependencies it needs --check-dependencies check if mat2 has all the dependencies it needs

2
mat2
View File

@ -57,7 +57,7 @@ def create_arg_parser() -> argparse.ArgumentParser:
parser.add_argument('--inplace', action='store_true', parser.add_argument('--inplace', action='store_true',
help='clean in place, without backup') help='clean in place, without backup')
parser.add_argument('--no-sandbox', dest='sandbox', action='store_true', parser.add_argument('--no-sandbox', dest='sandbox', action='store_true',
default=False, help='Disable bubblewrap\'s sandboxing.') default=False, help='Disable bubblewrap\'s sandboxing')
excl_group = parser.add_mutually_exclusive_group() excl_group = parser.add_mutually_exclusive_group()
excl_group.add_argument('files', nargs='*', help='the files to process', excl_group.add_argument('files', nargs='*', help='the files to process',