mirror of https://github.com/ARMmbed/mbed-os.git
Add -S, -L, and --source to the project.py mutually exclusive group
parent
053efc6864
commit
439d2e8539
|
@ -64,13 +64,13 @@ if __name__ == '__main__':
|
||||||
default=False,
|
default=False,
|
||||||
help="use the mbed library build, instead of the sources")
|
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",
|
action="store_true",
|
||||||
dest="list_tests",
|
dest="list_tests",
|
||||||
default=False,
|
default=False,
|
||||||
help="list available programs in order and exit")
|
help="list available programs in order and exit")
|
||||||
|
|
||||||
parser.add_argument("-S", "--list-matrix",
|
group.add_argument("-S", "--list-matrix",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
dest="supported_ides",
|
dest="supported_ides",
|
||||||
default=False,
|
default=False,
|
||||||
|
@ -82,7 +82,7 @@ if __name__ == '__main__':
|
||||||
default=False,
|
default=False,
|
||||||
help="writes tools/export/README.md")
|
help="writes tools/export/README.md")
|
||||||
|
|
||||||
parser.add_argument("--source",
|
group.add_argument("--source",
|
||||||
nargs="*",
|
nargs="*",
|
||||||
type=argparse_filestring_type,
|
type=argparse_filestring_type,
|
||||||
dest="source_dir",
|
dest="source_dir",
|
||||||
|
|
Loading…
Reference in New Issue