Add -S, -L, and --source to the project.py mutually exclusive group

pull/1976/head
Jimmy Brisson 2016-06-23 15:26:10 -05:00
parent 053efc6864
commit 439d2e8539
1 changed files with 3 additions and 3 deletions

View File

@ -64,13 +64,13 @@ if __name__ == '__main__':
default=False,
help="use the mbed library build, instead of the sources")
parser.add_argument("-L", "--list-tests",
group.add_argument("-L", "--list-tests",
action="store_true",
dest="list_tests",
default=False,
help="list available programs in order and exit")
parser.add_argument("-S", "--list-matrix",
group.add_argument("-S", "--list-matrix",
action="store_true",
dest="supported_ides",
default=False,
@ -82,7 +82,7 @@ if __name__ == '__main__':
default=False,
help="writes tools/export/README.md")
parser.add_argument("--source",
group.add_argument("--source",
nargs="*",
type=argparse_filestring_type,
dest="source_dir",